mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-17 10:40:16 +00:00
remove flatpak
Flatpak support has been a HUGE pain to keep working, the builds take forever and cost me real money, and there are very few users. Ideally, we want to just use native system packagers for each distro. I thought Flatpak would make it easy to support many distros but that ended up being false.
This commit is contained in:
48
.github/workflows/release-tip.yml
vendored
48
.github/workflows/release-tip.yml
vendored
@@ -11,7 +11,7 @@ name: Release Tip
|
||||
jobs:
|
||||
tag:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [flatpak, build-macos]
|
||||
needs: [build-macos]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Tip Tag
|
||||
@@ -21,52 +21,6 @@ jobs:
|
||||
git tag -fa tip -m "Latest Continuous Release" ${GITHUB_SHA}
|
||||
git push --force origin tip
|
||||
|
||||
flatpak:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
container:
|
||||
image: bilelmoussaoui/flatpak-github-actions:gnome-43
|
||||
options: --privileged
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: [x86_64, aarch64]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
# Docker is required by the docker/setup-qemu-action which enables emulation
|
||||
- name: Install deps
|
||||
run: |
|
||||
dnf -y install docker
|
||||
- name: Set up QEMU
|
||||
id: qemu
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
platforms: arm64
|
||||
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
bundle: ghostty.flatpak
|
||||
manifest-path: com.mitchellh.ghostty.yml
|
||||
branch: tip
|
||||
cache-key: flatpak-builder-${{ matrix.arch }}-${{ github.sha }}-v1
|
||||
arch: ${{ matrix.arch }}
|
||||
|
||||
- name: Rename Bundle
|
||||
run: mv ghostty.flatpak ghostty-${{ matrix.arch }}.flatpak
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: "Ghostty Tip (\"Nightly\")"
|
||||
prerelease: true
|
||||
tag_name: tip
|
||||
target_commitish: ${{ github.sha }}
|
||||
files: ghostty-${{ matrix.arch }}.flatpak
|
||||
token: ${{ secrets.GH_RELEASE_TOKEN }}
|
||||
|
||||
build-macos:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: macos-12
|
||||
|
||||
Reference in New Issue
Block a user