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