Skip to content

Commit 2acae96

Browse files
author
psadi
committed
build: switch to uruntime
1 parent c37e24e commit 2acae96

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,14 @@ jobs:
9090
file_glob: true
9191

9292
- name: Ghostty Tip ("Nightly")
93-
uses: marvinpinto/[email protected]
94-
if: ${{ github.event_name == 'schedule' }}
93+
if: ${{ github.event_name == 'schedule' && github.ref_name == 'main' }}
94+
uses: softprops/[email protected]
9595
with:
96-
title: Ghostty Tip ("Nightly")
97-
automatic_release_tag: tip
96+
name: '👻 Ghostty Tip ("Nightly")'
9897
prerelease: true
99-
draft: false
98+
tag_name: tip
99+
target_commitish: ${{ github.sha }}
100+
make_latest: false
101+
generate_release_notes: true
100102
files: |
101103
*.AppImage*
102-
repo_token: ${{ secrets.GITHUB_TOKEN }}

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ if [ -f './nix/build-support/fetch-zig-cache.sh' ]; then
5656
fi
5757

5858
# Build Ghostty with zig
59-
echo " BUILD_ARGS: '${BUILD_ARGS}"
59+
echo "BUILD_ARGS: >-"
60+
echo "${BUILD_ARGS}" | xargs -n 2 | sed 's/^/\t/'
6061
zig build ${BUILD_ARGS}
6162

6263
# Prepare AppImage -- Configure launcher script, metainfo and desktop file with icon.
@@ -99,4 +100,4 @@ fi
99100
cd "${TMP_DIR}"
100101

101102
# create app image
102-
appimagetool -u "${UPINFO}" "${APP_DIR}"
103+
appimagetool -u "${UPINFO}" "${APP_DIR}" --runtime-file /usr/local/bin/uruntime

0 commit comments

Comments
 (0)