Skip to content

Commit

Permalink
fix quotes in worklfow
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerad committed Mar 5, 2024
1 parent 4e8350b commit 7c230dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 7c230dd

Please sign in to comment.