Skip to content

docs: Add note on how to run the project with GNOME builder #68

docs: Add note on how to run the project with GNOME builder

docs: Add note on how to run the project with GNOME builder #68

Workflow file for this run

name: Flatpak CI
on:
push:
pull_request:
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: com.pojtinger.felicitas.Multiplex.flatpak
manifest-path: com.pojtinger.felicitas.Multiplex.json
cache-key: flatpak-builder-${{ github.sha }}
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Publish pre-release to GitHub releases
if: ${{ github.ref == 'refs/heads/main' }}
uses: softprops/action-gh-release@v2
with:
tag_name: release-${{ steps.extract_branch.outputs.branch }}
prerelease: true
files: |
*.flatpak
- name: Publish release to GitHub releases
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
prerelease: false
files: |
*.flatpak