mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -05:00
Add Flatpak CI
This commit is contained in:
parent
954e015f6f
commit
608a122fb0
3 changed files with 32 additions and 3 deletions
29
.github/workflows/linux-flatpak.yml
vendored
Normal file
29
.github/workflows/linux-flatpak.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [blueprint]
|
||||||
|
pull_request:
|
||||||
|
name: Linux CI (Flatpak)
|
||||||
|
jobs:
|
||||||
|
flatpak-builder:
|
||||||
|
name: "Flatpak Builder"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: bilelmoussaoui/flatpak-github-actions:kde-5.15
|
||||||
|
options: --privileged
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: bilelmoussaoui/flatpak-github-actions@v2
|
||||||
|
with:
|
||||||
|
bundle: "fmp.flatpak"
|
||||||
|
manifest-path: "Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.yml"
|
||||||
|
- shell: bash
|
||||||
|
env:
|
||||||
|
REPO_TOKEN: ${{ secrets.FLATPAK_REPO_TOKEN }}
|
||||||
|
REPO_LOCATION: https://flatpak.vicr123.com
|
||||||
|
REPO_NAME: partner-blueprint
|
||||||
|
run: |
|
||||||
|
sudo dnf install -y python3-aiohttp python3-tenacity python3-gobject
|
||||||
|
curl https://github.com/flatpak/flat-manager/releases/download/0.3.7/flat-manager-client -L > flat-manager-client
|
||||||
|
chmod +x flat-manager-client
|
||||||
|
./flat-manager-client push --commit --publish $(./flat-manager-client create $REPO_LOCATION $REPO_NAME) repo
|
||||||
|
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Linux CI
|
name: Linux CI (AppImage)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
|
@ -33,7 +33,7 @@ modules:
|
||||||
- mkdir -p /app/share/applications
|
- mkdir -p /app/share/applications
|
||||||
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.desktop /app/share/applications
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.desktop /app/share/applications
|
||||||
- mkdir -p /app/share/icons/hicolor/scalable/apps
|
- mkdir -p /app/share/icons/hicolor/scalable/apps
|
||||||
- cp Distribution/logo.svg /app/share/icons/hicolor/scalable/apps/io.github.royce551.FRESHMusicPlayer.Blueprint.svg
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.svg /app/share/icons/hicolor/scalable/apps/
|
||||||
- mkdir -p /app/share/metainfo
|
- mkdir -p /app/share/metainfo
|
||||||
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.metainfo.xml /app/share/metainfo/
|
- cp Distribution/io.github.royce551.FRESHMusicPlayer.Blueprint.metainfo.xml /app/share/metainfo/
|
||||||
sources:
|
sources:
|
||||||
|
|
Loading…
Reference in a new issue