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: | run: |
cp dist/TinyWeb TinyWeb-linux-x64 cp dist/TinyWeb TinyWeb-linux-x64
chmod +x 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') if: startsWith(github.ref, 'refs/tags/v')
run: | uses: https://code.forgejo.org/actions/forgejo-release@v2
FILE=TinyWeb-linux-x64 with:
TAG="${{ github.ref_name }}" direction: upload
REPO="${{ github.repository }}" release-dir: .
curl -X POST "https://git.derickphan.com/api/v1/repos/$REPO/releases/$TAG/assets" \ override: true
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-F "attachment=@$FILE"