@@ -272,6 +272,14 @@ jobs:
272272 repository : wp-cli/builds
273273 token : ${{ secrets.ACTIONS_BOT }}
274274
275+ - name : Check out bundle repository
276+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
277+ with :
278+ repository : ${{ github.repository }}
279+ ref : ${{ github.sha }}
280+ path : bundle
281+ persist-credentials : false
282+
275283 - name : Download built Phar file
276284 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
277285 with :
@@ -282,10 +290,10 @@ jobs:
282290 sudo apt-get update
283291 sudo apt-get install rpm rpmlint -y
284292
285- - name : Download RPM build configuration
293+ - name : Copy RPM build configuration
286294 run : |
287- wget -O wp-cli-rpm.spec https://raw.githubusercontent.com/wp-cli/wp-cli- bundle/main/ utils/wp-cli-rpm.spec
288- wget -O wp-cli-updaterpm.sh https://raw.githubusercontent.com/wp-cli/wp-cli- bundle/main/ utils/wp-cli-updaterpm.sh
295+ cp bundle/utils/wp-cli-rpm.spec .
296+ cp bundle/utils/wp-cli-updaterpm.sh .
289297
290298 - name : Build RPM package
291299 run : |
@@ -353,6 +361,14 @@ jobs:
353361 repository : wp-cli/builds
354362 token : ${{ secrets.ACTIONS_BOT }}
355363
364+ - name : Check out bundle repository
365+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
366+ with :
367+ repository : ${{ github.repository }}
368+ ref : ${{ github.sha }}
369+ path : bundle
370+ persist-credentials : false
371+
356372 - name : Download built Phar file
357373 uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
358374 with :
@@ -363,9 +379,9 @@ jobs:
363379 sudo apt-get update
364380 sudo apt-get install fakeroot lintian -y
365381
366- - name : Download DEB build configuration
382+ - name : Copy DEB build configuration
367383 run : |
368- wget -O wp-cli-updatedeb.sh https://raw.githubusercontent.com/wp-cli/wp-cli- bundle/main/ utils/wp-cli-updatedeb.sh
384+ cp bundle/utils/wp-cli-updatedeb.sh .
369385
370386 - name : Build DEB package
371387 run : |
0 commit comments