Update the tracy-client-sys crate #5239
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: Update the tracy-client-sys crate | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '37 0/6 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup install stable --profile=minimal | |
- run: rustup default stable | |
- run: cargo install bindgen-cli | |
- run: sudo apt install -y jq curl | |
- run: bash make_sys.sh | |
id: make_sys | |
- run: git diff | |
- if: ${{ steps.make_sys.outputs.tracy-changed }} | |
uses: actions/create-github-app-token@v1 | |
id: generate-token | |
with: | |
app_id: ${{ secrets.APP_ID }} | |
private_key: ${{ secrets.APP_PRIVATE_KEY }} | |
- if: ${{ steps.make_sys.outputs.tracy-changed }} | |
name: Create Pull Request | |
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 | |
with: | |
title: "Update tracy client bindings to ${{ steps.make_sys.outputs.tracy-tag }}" | |
body: '' | |
delete-branch: true | |
token: ${{ steps.generate-token.outputs.token }} | |
base: main | |
branch-suffix: random |