aboutsummaryrefslogtreecommitdiff
path: root/vendor/libghostty-vt/.github/workflows/flatpak.yml
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-04-04 19:22:04 +0300
committerCan Celik <ogulcancelik@gmail.com>2026-04-05 01:23:06 +0300
commit41dd733ca7123c9ac4bfc6c781697a660e95b052 (patch)
tree3fc91815ca139ef2e0b281bba0abda4ef15175f4 /vendor/libghostty-vt/.github/workflows/flatpak.yml
parent55c138263e190a1e79d4b997bfb9397306c0ec1f (diff)
feat: finish ghostty pane backend integration
Diffstat (limited to 'vendor/libghostty-vt/.github/workflows/flatpak.yml')
-rw-r--r--vendor/libghostty-vt/.github/workflows/flatpak.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/.github/workflows/flatpak.yml b/vendor/libghostty-vt/.github/workflows/flatpak.yml
new file mode 100644
index 00000000..d64ab829
--- /dev/null
+++ b/vendor/libghostty-vt/.github/workflows/flatpak.yml
@@ -0,0 +1,50 @@
+on:
+ workflow_dispatch:
+ inputs:
+ source-run-id:
+ description: run id of the workflow that generated the artifact
+ required: true
+ type: string
+ source-artifact-id:
+ description: source tarball built during build-dist
+ required: true
+ type: string
+
+name: Flatpak
+
+jobs:
+ build:
+ if: github.repository == 'ghostty-org/ghostty'
+ name: "Flatpak"
+ container:
+ image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-47
+ options: --privileged
+ strategy:
+ fail-fast: false
+ matrix:
+ variant:
+ - arch: x86_64
+ runner: namespace-profile-ghostty-md
+ - arch: aarch64
+ runner: namespace-profile-ghostty-md-arm64
+ runs-on: ${{ matrix.variant.runner }}
+ steps:
+ - name: Download Source Tarball Artifacts
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ with:
+ run-id: ${{ inputs.source-run-id }}
+ artifact-ids: ${{ inputs.source-artifact-id }}
+ github-token: ${{ github.token }}
+
+ - name: Extract tarball
+ run: |
+ mkdir dist
+ tar --verbose --extract --strip-components 1 --directory dist --file ghostty-source.tar.gz
+
+ - uses: flatpak/flatpak-github-actions/flatpak-builder@92ae9851ad316786193b1fd3f40c4b51eb5cb101 # v6.6
+ with:
+ bundle: com.mitchellh.ghostty
+ manifest-path: dist/flatpak/com.mitchellh.ghostty.yml
+ cache-key: flatpak-builder-${{ github.sha }}
+ arch: ${{ matrix.variant.arch }}
+ verbose: true