mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Add GitHub workflow for releasing as Flatpak
This commit is contained in:
parent
82b1f0e0ad
commit
144f209cf4
1 changed files with 24 additions and 0 deletions
24
.github/workflows/release-flatpak.yaml
vendored
Normal file
24
.github/workflows/release-flatpak.yaml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
name: Build and Release Flatpak
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up Flatpak
|
||||||
|
uses: flatpak/flatpak-github-actions/setup-flatpak@v5
|
||||||
|
|
||||||
|
- name: Build Flatpak
|
||||||
|
run: |
|
||||||
|
flatpak-builder --repo=repo --default-branch=stable build flatpak/de.johrpan.Musicus.json
|
||||||
|
flatpak build-bundle repo de.johrpan.Musicus.flatpak de.johrpan.Musicus stable
|
||||||
|
|
||||||
|
- name: Upload Flatpak to Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
files: de.johrpan.Musicus.flatpak
|
||||||
Loading…
Add table
Add a link
Reference in a new issue