Merge pull request #2010 from o0HalfLife0o/master
only test build on pull request
This commit is contained in:
@@ -97,7 +97,7 @@ jobs:
|
|||||||
|
|
||||||
lanzou:
|
lanzou:
|
||||||
needs: [ prepare, build ]
|
needs: [ prepare, build ]
|
||||||
if: ${{ needs.prepare.outputs.lanzou }}
|
if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.lanzou == 'yes' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
# 登录蓝奏云后在控制台运行document.cookie
|
# 登录蓝奏云后在控制台运行document.cookie
|
||||||
@@ -122,7 +122,7 @@ jobs:
|
|||||||
test_Branch:
|
test_Branch:
|
||||||
needs: [ prepare, build ]
|
needs: [ prepare, build ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.actor == 'gedoor' }}
|
if: ${{ github.event_name != 'pull_request' && github.actor == 'gedoor' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
@@ -144,7 +144,7 @@ jobs:
|
|||||||
|
|
||||||
telegram:
|
telegram:
|
||||||
needs: [ prepare, build ]
|
needs: [ prepare, build ]
|
||||||
if: ${{ needs.prepare.outputs.telegram }}
|
if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.telegram == 'yes' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
|
CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
|
||||||
|
|||||||
Reference in New Issue
Block a user