1.0.45 - Building Flatpak #13
Workflow file for this run
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: Flathub | |
run-name: ${{ github.ref_name }} - Building Flatpak | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
flatpak: | |
name: "Flatpak" | |
runs-on: ubuntu-latest | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-45 | |
options: --privileged | |
steps: | |
- name: "Free up disk space" | |
run: | | |
sudo rm -rf /usr/share/dotnet >/dev/null 2>&1 | |
sudo rm -rf /opt/ghc >/dev/null 2>&1 | |
sudo rm -rf "/usr/local/share/boost" >/dev/null 2>&1 | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" >/dev/null 2>&1 | |
sudo rm -rf /usr/local/lib/android >/dev/null 2>&1 | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | |
with: | |
manifest-path: packaging/flatpak/io.github.ad_on_is.Resticity.yml | |
cache-key: flatpak-builder-${{ github.sha }} | |
bundle: Resticity.flatpak | |
- name: "Add to release" | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: | | |
Resticity.flatpak | |
/__w/resticity/resticity/flatpak_app/files/bin/go/bin/wails | |