Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,22 @@ jobs:
cp "$src.asc" "staging/zayit_${VERSION}_${{ matrix.arch }}.deb.asc"
fi

# The app folder as a .tar.gz, once per architecture (beside the .deb), for the Flathub manifest to repackage
- name: Build & stage Linux .tar.gz (Flathub)
if: startsWith(matrix.os, 'ubuntu') && matrix.pkg == 'deb'
shell: bash
run: |
set -euo pipefail
./gradlew :SeforimApp:packageGraalvmTar
src="$(find SeforimApp/build/compose/binaries/main/graalvm-tar.gz -name '*.tar.gz' | head -n1)"
[ -n "$src" ] || { echo "::error::No .tar.gz produced"; exit 1; }
case "${{ matrix.arch }}" in
amd64) tar_arch=x86_64 ;;
arm64) tar_arch=aarch64 ;;
*) tar_arch="${{ matrix.arch }}" ;;
esac
cp "$src" "staging/zayit-${VERSION}-linux-${tar_arch}.tar.gz"

- name: Build & stage Linux .rpm
if: startsWith(matrix.os, 'ubuntu') && matrix.pkg == 'rpm'
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions SeforimApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ nucleus.application {
TargetFormat.Pacman,
// Microsoft Store package, built locally (packageGraalvmAppX), unsigned: the Store signs it
TargetFormat.AppX,
// the app folder as a .tar.gz on the GitHub release, which the Flathub manifest repackages
TargetFormat.Tar,
)
vendor = "KDroidFilter"
cleanupNativeLibs = true
Expand Down
Loading