chore(actions): remove multiarch stuff from appimage builder

This commit is contained in:
Erica Marigold 2025-05-01 07:16:04 +01:00 committed by GitHub
parent 91ab720353
commit a4d6614408
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -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