Skip to content

Commit

Permalink
Merge pull request #1666 from WordPress/fix/deployment-version-integr…
Browse files Browse the repository at this point in the history
…ity-check

Only check plugin version integrity in deployment workflow if the plugin actually requires to be deployed
  • Loading branch information
mukeshpanchal27 authored Dec 23, 2024
2 parents ebec285 + 0f805e8 commit 1be4573
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Check plugin versions
run: npm run versions -- --plugin=${{ matrix.plugin }}

- name: Build plugin
run: npm run build:plugin:${{ matrix.plugin }}

Expand Down Expand Up @@ -101,6 +98,10 @@ jobs:
echo "deploy=true" >> $GITHUB_OUTPUT
- name: Check plugin version integrity
if: steps.check-deployment.outputs.deploy == 'true'
run: npm run versions -- --plugin=${{ matrix.plugin }}

- name: Create zip file
if: steps.check-deployment.outputs.deploy == 'true'
run: |
Expand Down

0 comments on commit 1be4573

Please sign in to comment.