Update githubci.yml
parent
7e2110e90c
commit
65d9cf543d
|
@ -35,10 +35,15 @@ jobs:
|
|||
run: python3 tools/build_all.py
|
||||
|
||||
- name: Upload Release Asset
|
||||
#if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
|
||||
#working-directory: tools
|
||||
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
|
||||
env:
|
||||
UPLOAD_URL: ${{ github.event.release.upload_url }}
|
||||
ADABOT_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: "[ -z \"$ADABOT_GITHUB_ACCESS_TOKEN\" ] || python3 -u tools/upload_release_files.py"
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: github.event_name != 'release'
|
||||
uses: actions/upload-artifacts@v2
|
||||
with:
|
||||
name: bin-artifacts
|
||||
path: bin/
|
||||
|
|
Loading…
Reference in New Issue