mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-03 17:43:46 +01:00
chore(actions): use pkg2appimage
directly instead of appimagetool
This commit is contained in:
parent
1ebc9bd4b6
commit
e1e3ceccc2
1 changed files with 5 additions and 12 deletions
17
.github/workflows/appimage.yaml
vendored
17
.github/workflows/appimage.yaml
vendored
|
@ -21,24 +21,17 @@ jobs:
|
|||
|
||||
- name: AppImage routine
|
||||
run: |
|
||||
export LUNE_VERSION=${{ vars.lune_VERSION }}
|
||||
|
||||
echo "Running build on debian linux $(uname -m)"
|
||||
export LUNE_VERSION=${{ vars.LUNE_VERSION }}
|
||||
|
||||
sudo apt-get update
|
||||
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"
|
||||
chmod a+x ./appimagetool-x86_64.AppImage
|
||||
|
||||
./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
|
||||
cd ./package/appimage
|
||||
./pkg2appimage/pkg2appimage lune.yml
|
||||
|
||||
- name: Upload generated images
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: lune-${{ vars.lune_VERSION }}.glibc${{ vars.LUNE_GLIBC_VERSION }}-x86_64.AppImage
|
||||
path: "*.AppImage"
|
||||
name: lune-${{ vars.LUNE_VERSION }}-x86_64.AppImage
|
||||
path: ./package/appimage/out/*.AppImage
|
||||
if-no-files-found: error
|
||||
|
|
Loading…
Add table
Reference in a new issue