bump Raptor Tools to bring external lib update (#1697) #306
This file contains hidden or 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: 'Alert' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
alert: | |
if: ${{ github.repository == 'os-fpga/Raptor' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.sha }} | |
fetch-depth: '0' | |
- name: Get Latest Commit ID | |
run: | | |
recent_sha=`git log -1 --pretty=format:"%h"` | |
echo $recent_sha | |
echo "LATEST_SHA=$recent_sha" >> $GITHUB_ENV | |
- name: Alert | |
uses: peter-evans/repository-dispatch@v2.1.2 | |
with: | |
token: ${{ secrets.NEW_COMMIT_PUSHED }} | |
repository: ${{ secrets.Alert }} | |
event-type: raptor_public_update | |
client-payload: '{"commitSHA": "${{ env.LATEST_SHA }}"}' |