Use github CI to build flatpak #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
# maybe i'm too dumb and fucked up to do CI. OH WELL :D -ppd | |
- 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 |