Correct 'Debian Version' to 'Debian Codename' in Actions
All checks were successful
Run Tests on Code / run-tests (push) Successful in 15s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 15s
This commit is contained in:
parent
18408c9eb0
commit
f9bac43630
1 changed files with 5 additions and 5 deletions
|
@ -34,11 +34,11 @@ jobs:
|
|||
container: rust:latest
|
||||
steps:
|
||||
-
|
||||
name: Storing Debian Version for Package Upload Job
|
||||
name: Storing Debian Codename for Package Upload Job
|
||||
id: store_deb_ver
|
||||
run: |
|
||||
. /etc/os-release
|
||||
echo Debian Version is: $VERSION_CODENAME
|
||||
echo Debian Codename is: $VERSION_CODENAME
|
||||
echo $VERSION_CODENAME >> $GITHUB_OUTPUT
|
||||
-
|
||||
name: Installing Node, NPM
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
|
||||
if-no-files-found: error
|
||||
outputs:
|
||||
debian_version: ${{ steps.store_deb_ver.outputs.VERSION_CODENAME }}
|
||||
debian_codename: ${{ steps.store_deb_ver.outputs.VERSION_CODENAME }}
|
||||
|
||||
upload-release:
|
||||
needs: [build-linux]
|
||||
|
@ -131,10 +131,10 @@ jobs:
|
|||
|
||||
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
||||
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_version }}/main/upload'
|
||||
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload'
|
||||
curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \
|
||||
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_version }}/main/upload
|
||||
https://forgejo.example.com/api/packages/${{ secrets.FORGEJO_USERNAME }}/debian/pool/${{ needs.store_deb_ver.outputs.debian_codename }}/main/upload
|
||||
|
||||
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
|
||||
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \
|
||||
|
|
Reference in a new issue