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 uses: actions/setup-go@v2
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
- if: contains(secrets, FACTORIO_USERNAME) - if: contains(secrets, 'FACTORIO_USERNAME')
run: cd src; go test ./... -v run: cd src; go test ./... -v
- if: !contains(secrets, FACTORIO_USERNAME) - if: !contains(secrets, 'FACTORIO_USERNAME')
run: cd src; go test ./... -v -test.short run: cd src; go test ./... -v -test.short
docker-push: docker-push:
needs: [test-npm, test-go] needs: [test-npm, test-go]