From 619521c41ed7fbd38721bf41a7d740fe50b68c29 Mon Sep 17 00:00:00 2001 From: diamondburned Date: Sat, 4 Nov 2023 03:08:25 -0700 Subject: [PATCH] *: Figure out GitHub Actions ternaries --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17169c4..680571f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,7 @@ jobs: run: go test $TEST_FLAGS ./... env: TEST_FLAGS: >- - -verbose=${{ runner.debug }} + -verbose=${{ runner.debug && '1' || '0' }} integration-test: name: Integration Test @@ -86,8 +86,8 @@ jobs: go tool cover -func /tmp/coverage.out env: TEST_FLAGS: >- - -verbose=${{ runner.debug }} - -short=${{ github.event-name == 'workflow_dispatch' || github.event.inputs.short-integration-tests }} + -verbose=${{ runner.debug && '1' || '0' }} + -short=${{ (github.event-name == 'workflow_dispatch' || github.event.inputs.short-integration-tests) && '1' || '0' }} CHANNEL_ID: ${{ secrets.CHANNEL_ID }} GUILD_ID: ${{ secrets.GUILD_ID }} VOICE_ID: ${{ secrets.VOICE_ID }}