Skip to content

Build and release

Build and release #38

Workflow file for this run

on: workflow_dispatch
name: Build and release
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15
options: --privileged
steps:
- uses: actions/checkout@v4.1.1
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
with:
bundle: qdigidoc.flatpak
manifest-path: ee.ria.qdigidoc4.yml
cache-key: flatpak-builder-${{ github.sha }}
release:
if: startsWith(github.ref, 'refs/tags/')
needs: build
name: "Release"
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4.1.1
- uses: softprops/action-gh-release@v0.1.15
with:
draft: true
body: |
Download the flatpak and install it with the following command:
```
flatpak install qdigidoc.flatpak
```
files: |
qdigidoc-x86_64/qidigidoc.flatpak