测试git actions

This commit is contained in:
Tlntin
2022-12-24 10:30:39 +08:00
parent 737022fa2b
commit 9c908b33dd

View File

@@ -78,9 +78,15 @@ jobs:
# files: |
# output/*/*.*
- uses: ncipollo/release-action@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
allowUpdates: true
artifacts: "output/*/*.*"
token: ${{ secrets.GITHUB_TOKEN }}
# - uses: ncipollo/release-action@v1
# if: startsWith(github.ref, 'refs/tags/v')
# with:
# allowUpdates: true
# artifacts: "output/*/*.*"
# token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh output/*/*.*