-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move Flatpak job to a separate workflow
- Loading branch information
1 parent
82d8f83
commit 25fe536
Showing
2 changed files
with
36 additions
and
27 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# SPDX-FileCopyrightText: None | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
name: Flatpak | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
flatpak: | ||
needs: build | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Flatpak | ||
run: sudo apt install -y flatpak flatpak-builder | ||
|
||
- name: Add Flathub repository | ||
run: flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo | ||
|
||
- name: Build | ||
run: flatpak-builder build --force-clean --user --install-deps-from=flathub --repo repo --install .flatpak-manifest.json | ||
|
||
- name: Create package | ||
run: flatpak build-bundle repo chessament.flatpak dev.alcarazzam.chessament --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: chessament.flatpak | ||
path: chessament.flatpak | ||
if-no-files-found: error | ||
|