Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(ci): trigger build.yml explicitly after tag push
EtienneLescot6cbf62a6937a
diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.ymlindex e3f355928..b0c3d060d 100644--- a/.github/workflows/prerelease.yml+++ b/.github/workflows/prerelease.yml@@ -124,8 +124,9 @@ jobs:- name: Push RC tagenv:# Use GITHUB_TOKEN for the tag push: a tag is a ref, not a file change, so- # the workflows:write permission isn't needed, and GITHUB_TOKEN pushes do- # trigger downstream workflows (build.yml). PAT pushes silently do NOT.+ # the workflows:write permission isn't needed.+ # Note: GITHUB_TOKEN tag pushes do NOT trigger build.yml in this org's setup,+ # so we explicitly trigger it via gh workflow run right after.RC_TAG: ${{ steps.version.outputs.rc_tag }}run: |set -euo pipefail@@ -140,6 +141,20 @@ jobs:git tag "$RC_TAG"git push origin "$RC_TAG"+ - name: Trigger build workflow+ env:+ GH_TOKEN: ${{ secrets.OPENSCREEN_RELEASE_TOKEN }}+ RC_TAG: ${{ steps.version.outputs.rc_tag }}+ run: |+ set -euo pipefail+ # GITHUB_TOKEN tag pushes don't fire the build.yml trigger in this setup,+ # so dispatch it explicitly. The PAT ensures the build's release creation+ # propagates to Tier 3 (homebrew/winget/nix/aur) via release: published.+ gh workflow run build.yml \+ -f release_tag="${RC_TAG}" \+ -f arch=both \+ --repo "$GITHUB_REPOSITORY"+- name: Announce RC on Discord (#rc-testing)if: success()env:diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.ymlindex da7625071..1e40daaf9 100644--- a/.github/workflows/promote.yml+++ b/.github/workflows/promote.yml@@ -107,8 +107,9 @@ jobs:- name: Push stable tagenv:# Use GITHUB_TOKEN for the tag push: a tag is a ref, not a file change, so- # the workflows:write permission isn't needed, and GITHUB_TOKEN pushes do- # trigger downstream workflows (build.yml). PAT pushes silently do NOT.+ # the workflows:write permission isn't needed.+ # Note: GITHUB_TOKEN tag pushes do NOT trigger build.yml in this org's setup,+ # so we explicitly trigger it via gh workflow run right after.STABLE_TAG: ${{ steps.version.outputs.stable_tag }}run: |set -euo pipefail@@ -121,6 +122,18 @@ jobs:git tag "$STABLE_TAG"git push origin "$STABLE_TAG"+ - name: Trigger build workflow+ env:+ GH_TOKEN: ${{ secrets.OPENSCREEN_RELEASE_TOKEN }}+ STABLE_TAG: ${{ steps.version.outputs.stable_tag }}+ run: |+ set -euo pipefail+ # GITHUB_TOKEN tag pushes don't fire build.yml in this setup, dispatch it.+ gh workflow run build.yml \+ -f release_tag="${STABLE_TAG}" \+ -f arch=both \+ --repo "$GITHUB_REPOSITORY"+- name: Announce stable on Discordif: success()env: