From 7c230dde2b863da6cc8a257ec68cdb1d52379e8d Mon Sep 17 00:00:00 2001 From: Jerad C Date: Tue, 5 Mar 2024 15:10:46 -0600 Subject: [PATCH] fix quotes in worklfow --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e9076c2d..628450fd 100755 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,7 +11,7 @@ permissions: env: DEFAULT_GO_VERSION: ^1.21.5 - NTH_RELEASE_MODE: ${{ github.event_name == "push" && "prod" || "test" }} + NTH_RELEASE_MODE: ${{ github.event_name == 'push' && 'prod' || 'test' }} GITHUB_USERNAME: ${{ secrets.EC2_BOT_GITHUB_USERNAME }} GITHUB_TOKEN: ${{ secrets.EC2_BOT_GITHUB_TOKEN }} WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} @@ -35,7 +35,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }} - NTH_RELEASE_TARGET: ${{ env.NTH_RELEASE_MODE == "prod" && "release" || "release-test" }} + NTH_RELEASE_TARGET: ${{ env.NTH_RELEASE_MODE == 'prod' && 'release' || 'release-test' }} releaseWindows: name: Release Windows @@ -60,11 +60,11 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }} - NTH_RELEASE_TARGET: ${{ env.NTH_RELEASE_MODE == "prod" && "release-windows" || "release-windows-test" }} + NTH_RELEASE_TARGET: ${{ env.NTH_RELEASE_MODE == 'prod' && 'release-windows' || 'release-windows-test' }} release: name: Release - if: ${{ env.NTH_RELEASE_MODE == "prod" }} + if: ${{ env.NTH_RELEASE_MODE == 'prod' }} runs-on: ubuntu-20.04 needs: [releaseLinux, releaseWindows] steps: