Skip to content

Commit c5184dc

Browse files
swissspidyclaude
andcommitted
Align shim deployment job with the deploy job
Download the artifacts in parallel with the same pinned action as the deploy job, and leave the separator comments of the other jobs as they are on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UWTd5pwpi2xQfDA6mUYkkx
1 parent 5051762 commit c5184dc

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

‎.github/workflows/deployment.yml‎

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111

12-
build: #----------------------------------------------------------------------
12+
build: #---------------------------------------------------------------------
1313
name: Build Phar
1414
runs-on: ubuntu-latest
1515

@@ -197,7 +197,7 @@ jobs:
197197
WP_VERSION: '${{ matrix.wp }}'
198198
run: composer behat || composer behat-rerun
199199

200-
deploy: #---------------------------------------------------------------------
200+
deploy: #-----------------------------------------------------------------------
201201
name: Deployment
202202
runs-on: ubuntu-latest
203203
needs: [build, test]
@@ -273,7 +273,7 @@ jobs:
273273
branch: gh-pages
274274
repository: wp-cli/builds
275275

276-
deploy-shim: #----------------------------------------------------------------
276+
deploy-shim: #-----------------------------------------------------------------------
277277
name: Deployment (Composer shim)
278278
runs-on: ubuntu-latest
279279
needs: [build, test]
@@ -286,15 +286,16 @@ jobs:
286286
repository: wp-cli/wp-cli-shim
287287
token: ${{ secrets.ACTIONS_BOT }}
288288

289-
- name: Download WP-CLI version
290-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
291-
with:
292-
name: cli_version
289+
- parallel:
290+
- name: Download WP-CLI version
291+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
292+
with:
293+
name: cli_version
293294

294-
- name: Download built Phar file
295-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
296-
with:
297-
name: wp-cli-phar
295+
- name: Download built Phar file
296+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
297+
with:
298+
name: wp-cli-phar
298299

299300
- name: Move built Phar file into correct location
300301
run: |
@@ -323,7 +324,7 @@ jobs:
323324
tags: true
324325
repository: wp-cli/wp-cli-shim
325326

326-
build-rpm: #------------------------------------------------------------------
327+
build-rpm: #-----------------------------------------------------------------------
327328
name: Build RPM package
328329
runs-on: ubuntu-latest
329330
if: ${{ contains(github.ref, 'release') && github.repository_owner == 'wp-cli' && github.event_name != 'workflow_dispatch' }}
@@ -418,7 +419,7 @@ jobs:
418419
branch: gh-pages
419420
repository: wp-cli/builds
420421

421-
build-deb: #------------------------------------------------------------------
422+
build-deb: #-----------------------------------------------------------------------
422423
name: Build DEB package
423424
runs-on: ubuntu-latest
424425
if: ${{ contains(github.ref, 'release') && github.repository_owner == 'wp-cli' && github.event_name != 'workflow_dispatch' }}

0 commit comments

Comments
 (0)