This commit is contained in:
neil 2020-08-29 14:19:17 +08:00
parent b639683ac1
commit e88180b4d5

View File

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