From 67b2896bbfdd0c18e10df57f8ea382c3d0e55b1d Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 10 Jan 2025 17:29:59 -0800 Subject: [PATCH] put chawan version in package path --- .gitea/workflows/build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index c71641d..04e0411 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -70,12 +70,13 @@ jobs: appimagetool chawan/AppDir mv Chawan-x86_64.AppImage "Chawan-x86_64-$(cd chawan && git rev-parse --short HEAD).AppImage" echo "filename=Chawan-x86_64-$(cd chawan && git rev-parse --short HEAD).AppImage" >> $GITHUB_OUTPUT + echo "chawan-version=$(cd chawan && git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - name: Publish AppImage if: steps.cache.outputs.cache-hit != 'true' run: | curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \ --upload-file ${{ steps.build.outputs.filename }} \ - https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/images/${{ steps.build.outputs.filename }} + https://git.lerch.org/api/packages/lobo/generic/chawan-appimage/${{ steps.build.outputs.chawan-version }}/${{ steps.build.outputs.filename }} - name: Save build if: steps.cache.outputs.cache-hit != 'true' uses: actions/cache/save@v4