FRESHMusicPlayer/.github/workflows/linux-flatpak.yml

31 lines
1,014 B
YAML
Raw Normal View History

2021-05-02 13:16:07 -04:00
on:
push:
2021-05-02 13:19:11 -04:00
branches:
- master
2021-05-02 13:16:07 -04:00
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