From 9aecb3487f8126061812571193f8163408e84452 Mon Sep 17 00:00:00 2001 From: Drew Dara-Abrams Date: Thu, 14 May 2020 10:38:40 -0700 Subject: [PATCH] conditional yet again --- .github/workflows/test-and-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index c6b31ddd..747bcb7e 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -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: @@ -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: @@ -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: