Merge pull request #442 from mitchellh/no-flatpak

remove flatpak
This commit is contained in:
Mitchell Hashimoto
2023-09-13 11:49:21 -07:00
committed by GitHub
4 changed files with 5 additions and 63 deletions

View File

@ -11,7 +11,7 @@ name: Release Tip
jobs: jobs:
tag: tag:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [flatpak, build-macos] needs: [build-macos]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Tip Tag - name: Tip Tag
@ -21,52 +21,6 @@ jobs:
git tag -fa tip -m "Latest Continuous Release" ${GITHUB_SHA} git tag -fa tip -m "Latest Continuous Release" ${GITHUB_SHA}
git push --force origin tip 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: build-macos:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
runs-on: macos-12 runs-on: macos-12

View File

@ -47,8 +47,7 @@ things, but I've been using it full time since April 2022.
| Platform / Package | Links | Notes | | Platform / Package | Links | Notes |
| ----------| ----- | ----- | | ----------| ----- | ----- |
| macOS | [Tip ("Nightly")](https://github.com/mitchellh/ghostty/releases/tag/tip) | MacOS 12+ Universal Binary | | macOS | [Tip ("Nightly")](https://github.com/mitchellh/ghostty/releases/tag/tip) | MacOS 12+ Universal Binary |
| Linux (Flatpak) | [Tip ("Nightly")](https://github.com/mitchellh/ghostty/releases/tag/tip) | | | Linux | [Build from Source](#developing-ghostty) | |
| Linux (Other) | [Build from Source](#developing-ghostty) | |
| Windows | n/a | Not supported yet | | Windows | n/a | Not supported yet |
### Configuration ### Configuration

View File

@ -1,3 +1,6 @@
# Note: the flatpak build is likely broken right now and is not actively
# maintained. We may completely remove this file in the future. For now,
# we want to keep _trying_ but its something with known issues.
app-id: com.mitchellh.ghostty app-id: com.mitchellh.ghostty
runtime: org.gnome.Platform runtime: org.gnome.Platform
runtime-version: '43' runtime-version: '43'

View File

@ -1,14 +0,0 @@
[Desktop Entry]
Name=Ghostty
Type=Application
Comment=A terminal emulator
Exec=/app/bin/ghostty
Icon=com.mitchellh.ghostty
Keywords=terminal;tty;pty;
StartupNotify=true
Terminal=false
Actions=new-window
[Desktop Action new-window]
Actions=new-window
Exec=/app/bin/ghostty