Debug Release Workflow
Some checks failed
Some checks failed
This commit is contained in:
parent
d28be84001
commit
82efecded4
1 changed files with 6 additions and 7 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue