Skip to content

Commit e39c701

Browse files
authored
Merge pull request #50 from psadi/feature/uruntime
build: switch to uruntime
2 parents c37e24e + 16700c6 commit e39c701

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Build
2+
concurrency:
3+
group: build-${{ github.ref }}
4+
cancel-in-progress: true
5+
26
on:
37
schedule:
48
- cron: "0 0 * * *"
@@ -90,13 +94,14 @@ jobs:
9094
file_glob: true
9195

9296
- name: Ghostty Tip ("Nightly")
93-
uses: marvinpinto/[email protected]
94-
if: ${{ github.event_name == 'schedule' }}
97+
if: ${{ github.event_name == 'schedule' && github.ref_name == 'main' }}
98+
uses: softprops/[email protected]
9599
with:
96-
title: Ghostty Tip ("Nightly")
97-
automatic_release_tag: tip
100+
name: '👻 Ghostty Tip ("Nightly")'
98101
prerelease: true
99-
draft: false
102+
tag_name: tip
103+
target_commitish: ${{ github.sha }}
104+
make_latest: false
105+
generate_release_notes: true
100106
files: |
101107
*.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)