Skip to content

Fix github workflow

Fix github workflow #5

Workflow file for this run

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
volumes:
- /usr/local/lib/android:/usr/local/lib/android
- /usr/share/dotnet:/usr/share/dotnet
- /opt/ghc:/opt/ghc1
- /usr/local/share/boost:/usr/local/share/boost1
steps:
- name: "Remove unneeded stuff to free disk space"
run:
rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4
- name: Get the version and date
run: |
ver=$(git describe --tags)
echo "ver=$ver" >> $GITHUB_ENV
shell: bash
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: OrcaSlicer-${{ env.ver }}.flatpak
manifest-path: io.github.softfever.OrcaSlicer.yml
cache: true