Debug Release Workflow
All checks were successful
Run Tests on Code / run-tests (push) Successful in 14s
Build and Release Binary File / run-tests (push) Successful in 5s
Build and Release Binary File / build (push) Successful in 1m11s
Build and Release Binary File / upload-release (push) Successful in 11s

This commit is contained in:
Neshura 2023-11-17 09:20:06 +00:00
parent d0dccfe946
commit ba78bca3ab

View file

@ -42,6 +42,9 @@ 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
@ -57,12 +60,12 @@ jobs:
--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
- #-
name: Release New Version # name: Release New Version
uses: actions/forgejo-release@v1 # uses: actions/forgejo-release@v1
with: # with:
direction: upload # direction: upload
url: https://forgejo.neshweb.net # url: https://forgejo.neshweb.net
release-dir: bookworm-bot-linux-amd64/ # release-dir: bookworm-bot-linux-amd64/
token: ${{ secrets.FORGEJO_TOKEN }} # token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }} # tag: ${{ github.ref_name }}