Skip to content

Commit

Permalink
Add building of all flatpak manifest targets (closes #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
13hannes11 committed Jul 16, 2024
1 parent 0412bcd commit 6b94ed5
Showing 1 changed file with 49 additions and 5 deletions.
54 changes: 49 additions & 5 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
name: build-and-prerelease

jobs:
flatpak:
name: Flatpak-prerelease
flatpak-release-target:
name: build-flatpak-release-target
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
Expand All @@ -19,10 +19,54 @@ jobs:
lfs: true
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3
with:
bundle: toolboxtuner.flatpak
bundle: toolboxtuner-release.flatpak
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.json
run-tests: true
cache-key: flatpak-builder-release-${{ github.sha }}
upload-artifact: false
- uses: actions/upload-artifact@v4
with:
name: flatpak
path: |
*.flatpak
flatpak-screenshot-target:
name: build-flatpak-screenshot-target
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3
with:
bundle: toolboxtuner-screenshot.flatpak
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.Screenshot.json
run-tests: true
cache-key: flatpak-builder-screenshot-${{ github.sha }}
upload-artifact: false
- uses: actions/upload-artifact@v4
with:
name: flatpak
path: |
*.flatpak
flatpak-dev-target:
name: build-flatpak-dev-target
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3
with:
bundle: toolboxtuner-dev.flatpak
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.Devel.json
run-tests: true
cache-key: flatpak-builder-${{ github.sha }}
cache-key: flatpak-builder-dev-${{ github.sha }}
upload-artifact: false
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -61,7 +105,7 @@ jobs:
automatic_release_tag: dev
title: 'Latest Development Build'
files: |
**/*.flatpak
**/*-dev.flatpak
**/*.tar.gz
**/*.sha256sum
Expand Down

0 comments on commit 6b94ed5

Please sign in to comment.