Skip to content

Commit

Permalink
Use github CI to build flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
anarsoul committed Nov 21, 2024
1 parent a5c864b commit 758e335
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Flatpak

on:
push:
branches:
- master

pull_request:
workflow_dispatch: # allows for manual dispatch

jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
steps:
- name: "Remove unneeded stuff to free disk space"
run:
sudo rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: orcaslicer.flatpak
manifest-path: io.github.softfever.OrcaSlicer.yml
cache-key: flatpak-builder-${{ github.sha }}
cache: false

0 comments on commit 758e335

Please sign in to comment.