Debug Release Workflow
Some checks failed
Run Tests on Code / run-tests (push) Successful in 11s
Build and Release Binary File / run-tests (push) Successful in 24s
Build and Release Binary File / build (push) Successful in 1m13s
Build and Release Binary File / upload-release (push) Failing after 33s

This commit is contained in:
Neshura 2023-11-17 08:59:41 +00:00
parent d28be84001
commit 82efecded4

View file

@ -34,7 +34,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: bookworm-bot-linux-amd64
path: /workspace/Neshura/ascendance-of-a-bookworm-bot/target/release/ascendance-of-a-bookworm-bot
path: /workspace/${{ secrets.FORGEJO_USERNAME }}/${{ github.event.repository.name }}/target/release/ascendance-of-a-bookworm-bot
if-no-files-found: error
upload-release:
@ -52,17 +52,16 @@ jobs:
pwd
-
name: Upload Artifacts As Generic Packages
run: |
curl --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \
https://forgejo.neshweb.net/api/packages/${{ secrets.FORGEJO_USERNAME }}/generic/ascendance-of-a-bookworm/${{ github.ref_name }}/bookworm-bot-linux-amd64
run: >
curl --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}
--upload-file 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
-
name: Release New Version
uses: actions/forgejo-release@v1
with:
direction: upload
url: https://forgejo.neshweb.net
release-dir: ./bookworm-bot-linux-amd64/
release-dir: bookworm-bot-linux-amd64/
token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }}