Debug Release Workflow
All checks were successful
Run Tests on Code / run-tests (push) Successful in 10s
Build and Release Binary File / run-tests (push) Successful in 2s
Build and Release Binary File / build (push) Successful in 1m12s
Build and Release Binary File / upload-release (push) Successful in 21s

This commit is contained in:
Neshura 2023-11-17 09:24:50 +00:00
parent ba78bca3ab
commit 222b59c9d2

View file

@ -42,9 +42,6 @@ jobs:
if: success() if: success()
runs-on: docker runs-on: docker
steps: steps:
-
name: Installing curl
run: apt update && apt install -y curl
- -
name: Downloading All Build Artifacts name: Downloading All Build Artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@ -56,7 +53,7 @@ jobs:
- -
name: Upload Artifacts As Generic Packages name: Upload Artifacts As Generic Packages
run: | run: |
curl --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file /workspace/${{ secrets.FORGEJO_USERNAME }}/${{ github.event.repository.name }}/bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \ --upload-file /workspace/${{ secrets.FORGEJO_USERNAME }}/${{ github.event.repository.name }}/bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/bookworm-bot-linux-amd64 https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/${{ github.event.repository.name }}/${{ github.ref_name }}/bookworm-bot-linux-amd64
echo Uploaded Artifact to Package Registry echo Uploaded Artifact to Package Registry