contains() subelement as string

This commit is contained in:
knoxfighter 2020-11-23 02:38:18 +01:00
parent cc3e988369
commit c22a3f013d

View File

@ -25,9 +25,9 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- if: contains(secrets, FACTORIO_USERNAME)
- if: contains(secrets, 'FACTORIO_USERNAME')
run: cd src; go test ./... -v
- if: !contains(secrets, FACTORIO_USERNAME)
- if: !contains(secrets, 'FACTORIO_USERNAME')
run: cd src; go test ./... -v -test.short
docker-push:
needs: [test-npm, test-go]