chore(actions): use pkg2appimage directly instead of appimagetool

This commit is contained in:
Erica Marigold 2025-05-01 07:57:23 +01:00 committed by GitHub
parent 1ebc9bd4b6
commit e1e3ceccc2
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -21,24 +21,17 @@ jobs:
- name: AppImage routine - name: AppImage routine
run: | run: |
export LUNE_VERSION=${{ vars.lune_VERSION }} export LUNE_VERSION=${{ vars.LUNE_VERSION }}
echo "Running build on debian linux $(uname -m)"
sudo apt-get update sudo apt-get update
sudo apt-get install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y sudo apt-get install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage" cd ./package/appimage
chmod a+x ./appimagetool-x86_64.AppImage ./pkg2appimage/pkg2appimage lune.yml
./appimagetool-x86_64.AppImage ./package/appimage/lune.AppDir
mkdir ../out
mv ./lune-*.AppImage ../out/lune-$LUNE_VERSION.glibc${{ vars.LUNE_GLIBC_VERSION }}-x86_64.AppImage
- name: Upload generated images - name: Upload generated images
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: lune-${{ vars.lune_VERSION }}.glibc${{ vars.LUNE_GLIBC_VERSION }}-x86_64.AppImage name: lune-${{ vars.LUNE_VERSION }}-x86_64.AppImage
path: "*.AppImage" path: ./package/appimage/out/*.AppImage
if-no-files-found: error if-no-files-found: error