From 7d81013d5631cfc408348aee0d63713b8000fd13 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 21 Nov 2022 10:33:12 -0800 Subject: [PATCH] ci: release will always do unsigned first --- .github/workflows/release-tip.yml | 33 ++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-tip.yml b/.github/workflows/release-tip.yml index ead0416c4..8a0d6d25d 100644 --- a/.github/workflows/release-tip.yml +++ b/.github/workflows/release-tip.yml @@ -59,8 +59,29 @@ jobs: path: zig-out/ retention-days: 5 + - name: Zip Unsigned App + run: nix develop -c sh -c 'cd zig-out && zip -9 -r ../ghostty-macos-universal-unsigned.zip Ghostty.app' + + # Update Release + - name: Release Unsigned + uses: softprops/action-gh-release@v1 + with: + name: "Ghostty Tip (\"Nightly\")" + prerelease: true + tag_name: tip + target_commitish: ${{ github.sha }} + files: ghostty-macos-universal-unsigned.zip + + # Update the Release Tag + - name: Tip Tag + uses: rickstaa/action-create-tag@v1 + with: + tag: "tip" + message: "Latest Continuous Release" + force_push_tag: true + sign-and-release: - runs-on: macos-12.0 + runs-on: macos-11.0 needs: build-macos steps: - name: Checkout code @@ -112,13 +133,3 @@ jobs: tag_name: tip target_commitish: ${{ github.sha }} files: ghostty-macos-universal.zip - - # Update the Release Tag - - name: Tip Tag - uses: rickstaa/action-create-tag@v1 - with: - tag: "tip" - message: "Latest Continuous Release" - force_push_tag: true - -