Skip to content

Commit 932cf49

Browse files
committed
Update last conditional
1 parent f094082 commit 932cf49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/reusable-upgrade-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
wp core update develop.zip
151151
152152
- name: Upgrade to WordPress ${{ inputs.new-version }}
153-
if: ${{ inputs.new-version != 'develop' }}
153+
if: ${{ inputs.new-version != 'develop' && steps.version_check.outputs.valid == 'true' }}
154154
run: |
155155
wp core update ${{ 'latest' != inputs.new-version && '--version="${WP_VERSION}"' || '' }}
156156
env:

0 commit comments

Comments
 (0)