put chawan version in package path
All checks were successful
AppImage Build / build-appimage (push) Successful in 1m35s

This commit is contained in:
Emil Lerch 2025-01-10 17:29:59 -08:00
parent 121c281e83
commit 67b2896bbf
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -70,12 +70,13 @@ jobs:
appimagetool chawan/AppDir appimagetool chawan/AppDir
mv Chawan-x86_64.AppImage "Chawan-x86_64-$(cd chawan && git rev-parse --short HEAD).AppImage" 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 "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 - name: Publish AppImage
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \ curl --user ${{ github.actor }}:${{ secrets.PACKAGE_PUSH }} \
--upload-file ${{ steps.build.outputs.filename }} \ --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 - name: Save build
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4 uses: actions/cache/save@v4