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()
|
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 }}
|
||||||
|
|
Loading…
Reference in a new issue