diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 22a49db..47d7e0f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -53,14 +53,17 @@ jobs: ${{ runner.os }}-${{ matrix.arch }}-ghostty- - name: Setup build environment - run: | - ZIG_VERSION=0.14.0 ./setup.sh - - - name: Build Ghostty AppImage run: | if [ "${{ github.event_name }}" == "schedule" ]; then + export ZIG_VERSION=0.15.1 echo "tip" > VERSION + else + export ZIG_VERSION=0.14.0 fi + ZIG_VERSION=$ZIG_VERSION ./setup.sh + + - name: Build Ghostty AppImage + run: | ./build.sh - name: Upload AppImage Artifacts diff --git a/build.sh b/build.sh index 27354a4..034bc55 100755 --- a/build.sh +++ b/build.sh @@ -61,7 +61,7 @@ export ICON="./ghostty-${GHOSTTY_VERSION}/zig-out/share/icons/hicolor/256x256/ap ./quick-sharun ./ghostty-${GHOSTTY_VERSION}/zig-out/bin/ghostty cp -rf ./ghostty-${GHOSTTY_VERSION}/zig-out/share/* ./AppDir/share/ -echo 'unset ARGV0' >> ./AppDir/.env +echo 'unset ARGV0' >>./AppDir/.env # temp fix for https://github.com/pkgforge-dev/ghostty-appimage/issues/93 ln -s /usr/share/glvnd/egl_vendor.d/10_nvidia.json ./AppDir/share/glvnd/egl_vendor.d/10_nvidia.json