This commit is contained in:
parent
c8b9364f32
commit
b4c358238d
1 changed files with 1 additions and 9 deletions
|
|
@ -30,13 +30,5 @@ jobs:
|
|||
run: |
|
||||
cp dist/TinyWeb TinyWeb-linux-x64
|
||||
chmod +x TinyWeb-linux-x64
|
||||
|
||||
- name: Upload release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
run: |
|
||||
FILE=TinyWeb-linux-x64
|
||||
TAG="${{ github.ref_name }}"
|
||||
curl -X POST "${{ forgejo.url }}/api/v1/repos/${{ github.repository }}/releases/$TAG/assets" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-F "attachment=@$FILE"
|
||||
ls -la TinyWeb-linux-x64
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue