Skip to content

Commit

Permalink
Check with failure()
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Jan 23, 2025
1 parent 33cf817 commit 3982211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-plugin-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
sed -i "s/'__composer_autoload_files'/\'__composer_autoload_files_${{ github.sha }}'/g" "build/vendor/composer/autoload_real.php"
- name: Move code to the `build/` directory
if: steps.php-scoper.conclusion == 'failure'
if: ${{ failure() && steps.php-scoper.conclusion == 'failure' }}
run: |
shopt -s extglob dotglob
mkdir build
Expand Down

0 comments on commit 3982211

Please sign in to comment.