Fixed workflow build
All checks were successful
/ build (push) Successful in 1m54s

This commit is contained in:
lichenblankie 2026-04-11 04:33:53 +00:00
parent c8b9364f32
commit b4c358238d

View file

@ -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