Add Github Action for packaging #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make workflow | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get install meson shellcheck | |
- name: Lint using Shellcheck | |
run: | | |
shellcheck configure.sh | |
- name: Make Flatpak | |
run: | | |
mv Makefile.in Makefile | |
make DESTDIR="$PWD/dist" PREFIX=/app install | |
- name: Make System Package | |
run: | | |
make DESTDIR="$PWD/dist" PREFIX=/usr install |