From 31231cef2435bbf2a880d22e8cd3cdd1e260e74c Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 3 Aug 2023 18:20:47 +0530 Subject: [PATCH] chore(actions): appimage build action --- .github/workflows/appimage.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/appimage.yaml diff --git a/.github/workflows/appimage.yaml b/.github/workflows/appimage.yaml new file mode 100644 index 0000000..2dd3025 --- /dev/null +++ b/.github/workflows/appimage.yaml @@ -0,0 +1,29 @@ +name: Build Lune AppImage + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + +jobs: + build: + name: Build the AppImage + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: true + + - name: Install dependencies + run: sudo apt install imagemagick file desktop-file-utils curl wget dpkg-dev unzip fuse libfuse2 + + - name: Set working directory + run: cd packages/appimage && export LUNE_VERSION=0.7.5 + + - name: Build AppImage + run: ./pkg2appimage/pkg2appimage lune.yml && mv ./lune/lune-$(uname -m).AppImage ./lune-$LUNE_VERSION-$(uname -m).AppImage + + +