mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 04:09:09 +00:00
chore(actions): appimage build action
This commit is contained in:
parent
ef34b16af7
commit
31231cef24
1 changed files with 29 additions and 0 deletions
29
.github/workflows/appimage.yaml
vendored
Normal file
29
.github/workflows/appimage.yaml
vendored
Normal 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
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue