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
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: bookworm-bot-linux-amd64
|
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
|
if-no-files-found: error
|
||||||
|
|
||||||
upload-release:
|
upload-release:
|
||||||
|
@ -52,17 +52,16 @@ jobs:
|
||||||
pwd
|
pwd
|
||||||
-
|
-
|
||||||
name: Upload Artifacts As Generic Packages
|
name: Upload Artifacts As Generic Packages
|
||||||
run: |
|
run: >
|
||||||
curl --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
curl --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }}
|
||||||
--upload-file bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \
|
--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
|
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
|
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