Fix 'if' condition syntax in Actions workflow (#4835)

Strings in expressions need to be in single quotes:
https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#literals
optimising-macrocalls
ento 2020-08-29 02:57:05 -08:00 zatwierdzone przez GitHub
rodzic 14573d2c2d
commit e332bb1728
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -20,7 +20,7 @@ jobs:
- run: "./bin/test.sh"
build-prerelease:
runs-on: ubuntu-latest
if: github.ref == "refs/heads/master"
if: github.ref == 'refs/heads/master'
needs: test
env:
TW5_BUILD_TIDDLYWIKI: "./tiddlywiki.js"
@ -45,7 +45,7 @@ jobs:
TRAVIS_BUILD_NUMBER: ${{ github.run_number }}
build-tiddlywiki-com:
runs-on: ubuntu-latest
if: github.ref == "refs/heads/tiddlywiki-com"
if: github.ref == 'refs/heads/tiddlywiki-com'
needs: test
env:
TW5_BUILD_TIDDLYWIKI: "./node_modules/tiddlywiki/tiddlywiki.js"