Skip to content

1.0.46 - Building Flatpak #14

1.0.46 - Building Flatpak

1.0.46 - Building Flatpak #14

Workflow file for this run

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/resticity