Files
seer/.github/workflows/flatpak-latest.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 27: did not find expected key
Ernie Pasveer 6bacccf861 Rename.
2025-12-11 13:39:44 -06:00

62 lines
1.5 KiB
YAML

name: flatpak-latest Development Build
on:
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
flatpak:
name: Build Flatpak
runs-on: ubuntu-latest
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:kde-6.10
options: --privileged
steps:
- name: Where Am I
run: |
pwd
ls -l
lscpu
- name: Checkout code
uses: actions/checkout@v4
- name: Create flatpak-latest tag
- uses: rickstaa/action-create-tag@v1
with:
tag: flatpak-latest
force_push_tag: true
message: flatpak-latest
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: seergdb.flatpak
manifest-path: flatpak/io.github.epasveer.seer.yml
cache-key: flatpak-builder-${{ github.sha }}
- name: Upload Flatpak bundle as artifact
uses: actions/upload-artifact@v4
with:
name: seergdb-flatpak
path: seergdb.flatpak
retention-days: 30
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Flatpak Development Release
body: Build from latest ${{ github.ref_name }} branch.
files: |
seergdb.flatpak
tag_name: flatpak-latest
draft: false
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}