1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-01-25 14:07:01 +00:00

*: Figure out GitHub Actions ternaries

This commit is contained in:
diamondburned 2023-11-04 03:08:25 -07:00
parent 7bfaf41a15
commit 619521c41e
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -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 }}