Skip to content

Commit

Permalink
Use reusable Flatpak workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lleyton authored Jul 5, 2023
1 parent 5e101d7 commit 0c66fcc
Showing 1 changed file with 6 additions and 34 deletions.
40 changes: 6 additions & 34 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,9 @@ on:
push:
branches: [main]
jobs:
flatpak:
strategy:
matrix:
arch: [x86_64, aarch64]
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-43
options: --privileged
steps:
- uses: actions/checkout@v2
- name: Install deps
run: |
dnf -y install docker
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
with:
platforms: arm64
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
name: "Build"
with:
bundle: modi.flatpak
manifest-path: com.fyralabs.Enigma.json
cache-key: flatpak-builder-${{ github.sha }}
repository-name: catalogue
repository-url: https://repo.tauos.co/catalogue.flatpakrepo
arch: ${{ matrix.arch }}
- uses: bilelmoussaoui/flatpak-github-actions/flat-manager@v3
name: "Deploy"
with:
repository: stable
flat-manager-url: https://catalogue.tauos.co
token: ${{ secrets.FLATPAK_REPO_TOKEN }}
deploy:
uses: tau-OS/github-actions/.github/workflows/deploy-flatpak.yml@main
with:
manifestPath: com.fyralabs.Enigma.json
secrets:
managerToken: ${{ secrets.FLATPAK_REPO_TOKEN }}

0 comments on commit 0c66fcc

Please sign in to comment.