ci: add vcpkg helper to pass commit SHA on push (#17) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: vcpkg Registry Helper | |
on: | |
push: | |
branches: main | |
jobs: | |
helper: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository Dispatch | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
repository: Starfield-Reverse-Engineering/Starfield-RE-vcpkg | |
event-type: update-event | |
client-payload: '{"sha": "${{ github.sha }}"}' |