This commit is contained in:
neil 2020-08-29 14:33:33 +08:00
parent e88180b4d5
commit 70366a98bd

View File

@ -15,7 +15,7 @@ on:
jobs: jobs:
Ubuntu: Ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: "${{ contains(secrets.NGROK_TOKEN, 0) }}" if: "contains(secrets.NGROK_TOKEN, '-')"
env: env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
TEST_LOCAL: 1 TEST_LOCAL: 1
@ -30,7 +30,7 @@ jobs:
MacOS: MacOS:
runs-on: macos-latest runs-on: macos-latest
if: "${{ contains(secrets.NGROK_TOKEN, 0) }}" if: "contains(secrets.NGROK_TOKEN, '-')"
needs: Ubuntu needs: Ubuntu
env: env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
@ -46,7 +46,7 @@ jobs:
Windows: Windows:
runs-on: windows-latest runs-on: windows-latest
if: "${{ contains(secrets.NGROK_TOKEN, 0) }}" if: "contains(secrets.NGROK_TOKEN, '-')"
needs: MacOS needs: MacOS
env: env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }} NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}