Skip to content

Commit 5caaa1a

Browse files
committed
Whoops! Use github.event_name rather than github.event
This was a mistake in the release-checking logic
1 parent 9842b91 commit 5caaa1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
# Only run last two steps if this is a release
5555
- name: Release
56-
if: github.event == 'release'
56+
if: github.event_name == 'release'
5757
env:
5858
CXX: ${{ matrix.cxx }}
5959
# Use a bash shell so we can use the same syntax for environment variable
@@ -70,7 +70,7 @@ jobs:
7070
7171
# Only Upload releases
7272
- name: Upload
73-
if: github.event == 'release'
73+
if: github.event_name == 'release'
7474
uses: actions/upload-artifact@v2
7575
with:
7676
name: build_${{ github.sha }}_${{ matrix.os }}_${{ matrix.cxx }}

0 commit comments

Comments
 (0)