mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
48
.github/workflows/release-tip.yml
vendored
48
.github/workflows/release-tip.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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'
|
||||||
|
14
dist/linux/app-flatpak.desktop
vendored
14
dist/linux/app-flatpak.desktop
vendored
@ -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
|
|
Reference in New Issue
Block a user