Fixed workflow build
Some checks failed
/ build (push) Failing after 1m57s

This commit is contained in:
lichenblankie 2026-04-11 04:45:50 +00:00
parent 6347dce86c
commit d454c0994c

View file

@ -30,15 +30,12 @@ jobs:
run: |
cp dist/TinyWeb TinyWeb-linux-x64
chmod +x TinyWeb-linux-x64
ls -la TinyWeb-linux-x64
- name: Upload to Release
- name: Create 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"
uses: https://code.forgejo.org/actions/forgejo-release@v2
with:
direction: upload
release-dir: .
override: true