Fix Artifact Upload File Path
Some checks failed
Some checks failed
This commit is contained in:
parent
9599a2070d
commit
7a5198bf56
1 changed files with 4 additions and 7 deletions
|
@ -47,23 +47,20 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Downloading All Build Artifacts
|
name: Downloading All Build Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
|
||||||
path: ./artifacts
|
|
||||||
-
|
-
|
||||||
name: Debug Workflow
|
name: Debug Workflow
|
||||||
run: |
|
run: |
|
||||||
ls -lap ${{steps.download.outputs.download-path}}
|
ls -lap ${{steps.download.outputs.download-path}}/bookworm-bot-linux-amd64
|
||||||
ls -lap ./artifacts
|
ls -lap ./bookworm-bot-linux-amd64/bookworm-bot-linux-amd64
|
||||||
ls -lap ./artifacts/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 ${{steps.download.outputs.download-path}}/bookworm-bot-linux-amd64 \
|
--upload-file ./bookworm-bot-linux-amd64/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'
|
||||||
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||||
--upload-file ${{steps.download.outputs.download-path}}/bookworm-bot-linux-amd64 \
|
--upload-file ./bookworm-bot-linux-amd64/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
|
||||||
-
|
-
|
||||||
name: Release New Version
|
name: Release New Version
|
||||||
|
|
Loading…
Reference in a new issue