mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-04 10:03:48 +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
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue