fix if statement to not call env var as program

This commit is contained in:
knoxfighter 2020-11-23 02:59:16 +01:00
parent 7a4664e107
commit 839fe2af70

View File

@ -28,7 +28,7 @@ jobs:
- if: ${{ matrix.go }} == 'ubuntu-latest' - if: ${{ matrix.go }} == 'ubuntu-latest'
run: | run: |
cd src cd src
if [$factorio_password != ""]; then if [ "$factorio_password" != ""]; then
go test ./... -v go test ./... -v
else else
go test ./... -v -test.short go test ./... -v -test.short