1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

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
This commit is contained in:
ento 2020-08-29 02:57:05 -08:00 committed by GitHub
parent 14573d2c2d
commit e332bb1728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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