mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-05-04 10:03:48 +01:00
chore(actions): remove multiarch stuff from appimage builder
This commit is contained in:
parent
91ab720353
commit
a4d6614408
1 changed files with 16 additions and 27 deletions
33
.github/workflows/appimage.yaml
vendored
33
.github/workflows/appimage.yaml
vendored
|
@ -7,10 +7,6 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
arch: ["x86_64"]
|
|
||||||
|
|
||||||
name: Build the AppImage
|
name: Build the AppImage
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
@ -24,29 +20,22 @@ jobs:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: AppImage routine
|
- name: AppImage routine
|
||||||
uses: lalten/run-on-arch-action@amd64-support
|
run: |
|
||||||
id: buildimg
|
export LUNE_VERSION=${{ vars.lune_VERSION }}
|
||||||
with:
|
|
||||||
arch: ${{ matrix.arch }}
|
|
||||||
distro: buster
|
|
||||||
dockerRunArgs: |
|
|
||||||
--volume "./package/appimage:/build" --privileged
|
|
||||||
run: |
|
|
||||||
export LUNE_VERSION=${{ vars.lune_VERSION }}
|
|
||||||
|
|
||||||
echo "Running build on debian linux $(uname -m)"
|
echo "Running build on debian linux $(uname -m)"
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y
|
apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 -y
|
||||||
|
|
||||||
wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-$(uname -m).AppImage -O /usr/bin/appimagetool
|
wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-$(uname -m).AppImage -O /usr/bin/appimagetool
|
||||||
chmod a+x /usr/bin/appimagetool
|
chmod a+x /usr/bin/appimagetool
|
||||||
|
|
||||||
cd /build/lune.AppDir
|
cd /build/lune.AppDir
|
||||||
ARCH=$(uname -m) /usr/bin/appimagetool .
|
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.glibc2.34-$(uname -m).AppImage
|
||||||
|
|
||||||
- name: Upload generated images
|
- name: Upload generated images
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|
Loading…
Add table
Reference in a new issue