Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
package

GitHub Action

Flatpak Builder

v1

Flatpak Builder

package

Flatpak Builder

Flatpak Applications Builder

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Flatpak Builder

uses: flatpak/flatpak-github-actions@v1

Learn more about this action in flatpak/flatpak-github-actions

Choose a version

Flatpak Github Actions

Build your flatpak application using Github Actions

Flatpak logo

How to use

Add a new workflow by creating a .yml file under .github/workflows with this content

on:
  push:
    branches: [master]
  pull_request:
name: CI
jobs:
  flatpak-builder:
    name: "Flatpak Builder"
    runs-on: ubuntu-latest
    container:
      image: docker.io/bilelmoussaoui/flatpak-github-actions
      options: --privileged
    steps:
    - uses: actions/checkout@master
    - uses: bilelmoussaoui/flatpak-github-actions@v1
      with:
        bundle: "palette.flatpak"
        manifest-path: "org.gnome.zbrown.Palette.yml"

Inputs

Name Description Required Default
manifest-path The relative path of the manifest file Required -
bundle The bundle name Optional app.flatpak
runtime-repo The repository used to fetch the runtime when the user download the Flatpak bundle. Optional Flathub
run-tests Enable/Disable running tests. Optional "flase"

The Docker Image used can be found here.