Skip to content

fix: update gnome sdk to 47, remove discord permissons (#60) #157

fix: update gnome sdk to 47, remove discord permissons (#60)

fix: update gnome sdk to 47, remove discord permissons (#60) #157

Workflow file for this run

name: Build and Push Flatpak
on:
push:
branches:
- 'pgr'
paths:
- 'moe.launcher.an-anime-borb-launcher.yml'
workflow_dispatch:
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-22.04
container:
image: fedora:37
options: --privileged
steps:
- name: Install Deps and Setup environment
run: |
dnf install -y wget flatpak gtk4-devel gtk4 libadwaita git curl openssl-devel rust cargo xorg-x11-server-Xvfb flatpak-builder python3-aiohttp python3-tenacity python3-gobject
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
wget https://raw.githubusercontent.com/flatpak/flat-manager/master/flat-manager-client -O /usr/bin/flat-manager-client
chmod +x /usr/bin/flat-manager-client
git config --global protocol.file.allow always
- uses: actions/checkout@v3
with:
ref: pgr
submodules: true
- uses: flatpak/flatpak-github-actions/flatpak-builder@v5
name: "Build"
with:
bundle: moe.launcher.an-anime-borb-launcher.flatpak
build-bundle: false
manifest-path: moe.launcher.an-anime-borb-launcher.yml
cache-key: flatpak-builder-${{ github.sha }}
- uses: flatpak/flatpak-github-actions/flat-manager@v5
name: "Deploy"
with:
repository: stable
flat-manager-url: ${{ secrets.REPO_URL }}
token: ${{ secrets.REPO_TOKEN }}