Skip to content

Commit

Permalink
conditional yet again
Browse files Browse the repository at this point in the history
  • Loading branch information
drewda committed May 14, 2020
1 parent 3e33436 commit 9aecb34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-and-release.yml
Expand Up @@ -30,7 +30,7 @@ jobs:
name: coverage
path: coverage.html
build-linux:
if: ${{ $GITHUB_EVENT_NAME == 'release' }}
if: ${{ github.event_name == 'release' }}
needs: test
runs-on: ubuntu-18.04
steps:
Expand All @@ -49,7 +49,7 @@ jobs:
name: gotransit-linux
path: ${{ github.workspace }}/cmd/gotransit/gotransit
build-macos:
if: ${{ $GITHUB_EVENT_NAME == 'release' }}
if: ${{ github.event_name == 'release' }}
needs: test
runs-on: macos-latest
steps:
Expand All @@ -68,7 +68,7 @@ jobs:
name: gotransit-macos
path: ${{ github.workspace }}/cmd/gotransit/gotransit
release:
if: ${{ $GITHUB_EVENT_NAME == 'release' }}
if: ${{ github.event_name == 'release' }}
needs: [build-linux, build-macos]
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit 9aecb34

Please sign in to comment.