Debug Release Workflow
All checks were successful
All checks were successful
This commit is contained in:
parent
d0dccfe946
commit
ba78bca3ab
1 changed files with 12 additions and 9 deletions
|
@ -42,6 +42,9 @@ jobs:
|
|||
if: success()
|
||||
runs-on: docker
|
||||
steps:
|
||||
-
|
||||
name: Installing curl
|
||||
run: apt update && apt install -y curl
|
||||
-
|
||||
name: Downloading All Build Artifacts
|
||||
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 \
|
||||
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
|
||||
-
|
||||
name: Release New Version
|
||||
uses: actions/forgejo-release@v1
|
||||
with:
|
||||
direction: upload
|
||||
url: https://forgejo.neshweb.net
|
||||
release-dir: bookworm-bot-linux-amd64/
|
||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||
tag: ${{ github.ref_name }}
|
||||
#-
|
||||
# name: Release New Version
|
||||
# uses: actions/forgejo-release@v1
|
||||
# with:
|
||||
# direction: upload
|
||||
# url: https://forgejo.neshweb.net
|
||||
# release-dir: bookworm-bot-linux-amd64/
|
||||
# token: ${{ secrets.FORGEJO_TOKEN }}
|
||||
# tag: ${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in a new issue