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