Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,20 @@ jobs:
token: ${{ secrets.TEMPLATE_REPO_TOKEN }}
repository: gui-cs/Terminal.Gui.templates
event-type: terminal-gui-v2-released
client-payload: ${{ steps.payload.outputs.json }}
client-payload: ${{ steps.payload.outputs.json }}

# Notify gui-cs/Editor so its bump-terminal-gui.yml workflow can pin the
# just-published version, validate, and republish Editor against it
# (Editor is the continuous canary for TG API churn — see Editor's
# specs/decisions.md DEC-010). Editor also polls NuGet on a schedule, so a
# missing token degrades gracefully.
# Requires EDITOR_DISPATCH_TOKEN: a PAT with `repo` scope on gui-cs/Editor.
- name: Notify gui-cs/Editor of publish
if: ${{ secrets.EDITOR_DISPATCH_TOKEN != '' }}
Comment thread
tig marked this conversation as resolved.
continue-on-error: true
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.EDITOR_DISPATCH_TOKEN }}
repository: gui-cs/Editor
event-type: terminal-gui-published
client-payload: '{"version":"${{ steps.gitversion.outputs.SemVer }}"}'
Loading