Update Release Binary Paths, Changed Debugging
Some checks failed
Some checks failed
This commit is contained in:
parent
9ff6661a59
commit
8d1e9c3d03
1 changed files with 11 additions and 8 deletions
|
@ -30,13 +30,13 @@ jobs:
|
||||||
name: Compiling To Linux Target
|
name: Compiling To Linux Target
|
||||||
run: |
|
run: |
|
||||||
cargo build -r
|
cargo build -r
|
||||||
mv ./target/release/ascendance-of-a-bookworm-bot ./bookworm-bot-linux-amd64
|
mv target/release/ascendance-of-a-bookworm-bot bookworm-bot-linux-amd64
|
||||||
-
|
-
|
||||||
name: Uploading Build Artifact
|
name: Uploading Build Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: bookworm-bot-linux-amd64
|
name: bookworm-bot-linux-amd64
|
||||||
path: ./bookworm-bot-linux-amd64
|
path: bookworm-bot-linux-amd64
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
upload-release:
|
upload-release:
|
||||||
|
@ -47,21 +47,24 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Downloading All Build Artifacts
|
name: Downloading All Build Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
run: |
|
||||||
|
mkdir release
|
||||||
|
mv bookworm-bot-linux-amd64/bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 release/bookworm-bot-linux-amd64
|
||||||
-
|
-
|
||||||
name: Debug Workflow
|
name: Debug Workflow
|
||||||
run: |
|
run: |
|
||||||
ls -lap ${{steps.download.outputs.download-path}}
|
ls -lap bookworm-bot-linux-amd64
|
||||||
ls -lap ./bookworm-bot-linux-amd64
|
ls -lap release
|
||||||
ls -lap ./bookworm-bot-linux-amd64/bookworm-bot-linux-amd64
|
ls -lap release/bookworm-bot-linux-amd64
|
||||||
pwd
|
pwd
|
||||||
-
|
-
|
||||||
name: Upload Artifacts As Generic Packages
|
name: Upload Artifacts As Generic Packages
|
||||||
run: |
|
run: |
|
||||||
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file ./bookworm-bot-linux-amd64/bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \
|
--upload-file release/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'
|
||||||
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file ./bookworm-bot-linux-amd64/bookworm-bot-linux-amd64/bookworm-bot-linux-amd64 \
|
--upload-file release/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
|
||||||
-
|
-
|
||||||
name: Release New Version
|
name: Release New Version
|
||||||
|
@ -69,6 +72,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://forgejo.neshweb.net
|
url: https://forgejo.neshweb.net
|
||||||
release-dir: ./
|
release-dir: release
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
tag: ${{ github.ref_name }}
|
tag: ${{ github.ref_name }}
|
||||||
|
|
Loading…
Reference in a new issue