Skip to content

Commit

Permalink
Whoops! Use github.event_name rather than github.event
Browse files Browse the repository at this point in the history
This was a mistake in the release-checking logic
  • Loading branch information
saxbophone committed Jan 23, 2021
1 parent 9842b91 commit 5caaa1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

# Only run last two steps if this is a release
- name: Release
if: github.event == 'release'
if: github.event_name == 'release'
env:
CXX: ${{ matrix.cxx }}
# Use a bash shell so we can use the same syntax for environment variable
Expand All @@ -70,7 +70,7 @@ jobs:
# Only Upload releases
- name: Upload
if: github.event == 'release'
if: github.event_name == 'release'
uses: actions/upload-artifact@v2
with:
name: build_${{ github.sha }}_${{ matrix.os }}_${{ matrix.cxx }}
Expand Down

0 comments on commit 5caaa1a

Please sign in to comment.