Skip to content

Commit

Permalink
Adjust ternary to use PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Oct 17, 2023
1 parent e9c37f8 commit b327885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
if: always()
with:
name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number && '-' || github.sha }}
name: wordpress-build-${{ github.event_name == 'pull_request' && github.event.number || github.sha }}
path: build.zip
if-no-files-found: error

0 comments on commit b327885

Please sign in to comment.