From f9bac43630a5416d0287924020a58f6b3a4c5ed5 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 17 Nov 2023 19:30:17 +0100 Subject: [PATCH] Correct 'Debian Version' to 'Debian Codename' in Actions --- .forgejo/workflows/build+release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build+release.yml b/.forgejo/workflows/build+release.yml index f622e4f..34d43d3 100644 --- a/.forgejo/workflows/build+release.yml +++ b/.forgejo/workflows/build+release.yml @@ -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 \