Flatpak Qt6 #7
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: "Flatpak Qt6" | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
flatpak: | |
name: "Flatpak Builder with Qt 6.5 and Poppler" | |
runs-on: ubuntu-22.04 | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:kde-6.5 | |
options: --privileged | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build flatpak | |
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6 | |
with: | |
bundle: BeamerPresenter.flatpak | |
manifest-path: packaging/io.github.stiglers_eponym.BeamerPresenter-qt6.yml | |
arch: x86_64 | |
cache-key: flatpak-builder-${{ github.sha }} | |
- name: Rename | |
run: mv BeamerPresenter.flatpak BeamerPresenter-Qt6.flatpak | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
BeamerPresenter-Qt6.flatpak | |
draft: true | |
token: ${{ secrets.GITHUB_TOKEN }} |