mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-04 10:03:48 +01:00
chore(actions): don't tamper with appimage file name and use variables for versions
This commit is contained in:
parent
ecbcc57041
commit
1ebc9bd4b6
1 changed files with 7 additions and 7 deletions
14
.github/workflows/appimage.yaml
vendored
14
.github/workflows/appimage.yaml
vendored
|
@ -28,17 +28,17 @@ jobs:
|
||||||
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" -O /usr/bin/appimagetool
|
wget "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||||
chmod a+x /usr/bin/appimagetool
|
chmod a+x ./appimagetool-x86_64.AppImage
|
||||||
|
|
||||||
cd ./package/appimage/lune.AppDir
|
./appimagetool-x86_64.AppImage ./package/appimage/lune.AppDir
|
||||||
ARCH=$(uname -m) /usr/bin/appimagetool .
|
|
||||||
|
|
||||||
mkdir ../out
|
mkdir ../out
|
||||||
mv ./lune-*.AppImage ../out/lune-$LUNE_VERSION.glibc2.34-$(uname -m).AppImage
|
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-0.7.7.glibc2.34-${{ vars.LUNE_VERSION }}.AppImage
|
name: lune-${{ vars.lune_VERSION }}.glibc${{ vars.LUNE_GLIBC_VERSION }}-x86_64.AppImage
|
||||||
path: ./package/appimage/out/lune-${{ vars.LUNE_VERSION }}.glibc2.34-${{ matrix.arch }}.AppImage
|
path: "*.AppImage"
|
||||||
|
if-no-files-found: error
|
||||||
|
|
Loading…
Add table
Reference in a new issue