Correct 'Debian Version' to 'Debian Codename' in Actions
All checks were successful
Run Tests on Code / run-tests (push) Successful in 15s

This commit is contained in:
Neshura 2023-11-17 19:30:17 +01:00
parent 18408c9eb0
commit f9bac43630
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -34,11 +34,11 @@ jobs:
container: rust:latest container: rust:latest
steps: steps:
- -
name: Storing Debian Version for Package Upload Job name: Storing Debian Codename for Package Upload Job
id: store_deb_ver id: store_deb_ver
run: | run: |
. /etc/os-release . /etc/os-release
echo Debian Version is: $VERSION_CODENAME echo Debian Codename is: $VERSION_CODENAME
echo $VERSION_CODENAME >> $GITHUB_OUTPUT echo $VERSION_CODENAME >> $GITHUB_OUTPUT
- -
name: Installing Node, NPM name: Installing Node, NPM
@ -96,7 +96,7 @@ jobs:
path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage path: artifacts/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage
if-no-files-found: error if-no-files-found: error
outputs: outputs:
debian_version: ${{ steps.store_deb_ver.outputs.VERSION_CODENAME }} debian_codename: ${{ steps.store_deb_ver.outputs.VERSION_CODENAME }}
upload-release: upload-release:
needs: [build-linux] needs: [build-linux]
@ -131,10 +131,10 @@ jobs:
echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \ echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \ --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 }} \ curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.deb \ --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 }} \ echo 'curl -v --user ${{ secrets.FORGEJO_USERNAME }}:${{ secrets.FORGEJO_TOKEN }} \
--upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \ --upload-file release/comicinfo-editor-v2-${{ github.ref_name }}-amd64.AppImage \