mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 05:50:27 +00:00
ci(release-tip): track optional triggering PRs and retain URLs (#10565)
Based on some prior private discussion -- this is needed for the GitHub bot to correctly dispatch, track, and collect workflow runs based on the triggering PR. I'm not sure if covering only `build-macos` is enough and if outputs from other jobs (like `build-macos-debug-slow`) are also useful here. I went with just `build-macos` since it's the only one to also link a DMG (and it sounds the most basic of course).
This commit is contained in:
25
.github/workflows/release-tip.yml
vendored
25
.github/workflows/release-tip.yml
vendored
@@ -4,7 +4,11 @@ on:
|
||||
types: [completed]
|
||||
branches: [main]
|
||||
|
||||
workflow_dispatch: {}
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
pr:
|
||||
type: number
|
||||
required: false
|
||||
|
||||
name: Release Tip
|
||||
|
||||
@@ -424,12 +428,21 @@ jobs:
|
||||
source-dir: blob
|
||||
destination-dir: ./
|
||||
|
||||
- name: Echo Release URLs
|
||||
- name: Show and Save Release URLs
|
||||
run: |
|
||||
echo "Release URLs:"
|
||||
echo " App Bundle: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/ghostty-macos-universal.zip"
|
||||
echo " Debug Symbols: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/ghostty-macos-universal-dsym.zip"
|
||||
echo " DMG: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/Ghostty.dmg"
|
||||
cat << EOF | tee release-urls.txt
|
||||
Release URLs:
|
||||
App Bundle: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/ghostty-macos-universal.zip
|
||||
Debug Symbols: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/ghostty-macos-universal-dsym.zip
|
||||
DMG: https://tip.files.ghostty.org/${GHOSTTY_COMMIT_LONG}/Ghostty.dmg
|
||||
EOF
|
||||
|
||||
- name: Upload Release URLs
|
||||
uses: actions/upload-artifact@47309c993abb98030a35d55ef7ff34b7fa1074b5 # v6.0
|
||||
with:
|
||||
name: release-urls-${{ inputs.pr || '0' }}
|
||||
path: release-urls.txt
|
||||
retention-days: 2
|
||||
|
||||
build-macos-debug-slow:
|
||||
needs: [setup]
|
||||
|
||||
Reference in New Issue
Block a user