chore(actions): appimage build action

This commit is contained in:
Erica Marigold 2023-08-03 18:20:47 +05:30 committed by GitHub
parent ef34b16af7
commit 31231cef24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
.github/workflows/appimage.yaml vendored Normal file
View file

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