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

This commit is contained in:
lichenblankie 2026-04-11 04:39:40 +00:00
parent b4c358238d
commit 6347dce86c

View file

@ -32,3 +32,13 @@ jobs:
chmod +x TinyWeb-linux-x64 chmod +x TinyWeb-linux-x64
ls -la TinyWeb-linux-x64 ls -la TinyWeb-linux-x64
- name: Upload to Release
if: startsWith(github.ref, 'refs/tags/v')
run: |
FILE=TinyWeb-linux-x64
TAG="${{ github.ref_name }}"
REPO="${{ github.repository }}"
curl -X POST "https://git.derickphan.com/api/v1/repos/$REPO/releases/$TAG/assets" \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-F "attachment=@$FILE"