Skip to content

Commit 59687d7

Browse files
authored
[BLD] Setup rust, correct var name for token (#4352)
## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Use the correct arg name for `github-token` to prevent rate limits against GH api - Setup-rust in another action missing it - New functionality - None ## Test plan *How are these changes tested?* - [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust ## Documentation Changes None
1 parent 81fd9ed commit 59687d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/_build_release_pypi.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Rust
7777
uses: ./.github/actions/rust
7878
with:
79-
repo-token: ${{ secrets.GITHUB_TOKEN }}
79+
github-token: ${{ secrets.GITHUB_TOKEN }}
8080

8181
# On Windows, we want to set up Python with the correct architecture
8282
- name: Set up Python on Windows
@@ -132,10 +132,10 @@ jobs:
132132
needs: version
133133
steps:
134134
- uses: actions/checkout@v4
135-
- name: Install Protoc
136-
uses: arduino/setup-protoc@v3
135+
- name: Setup Rust
136+
uses: ./.github/actions/rust
137137
with:
138-
repo-token: ${{ secrets.GITHUB_TOKEN }}
138+
github-token: ${{ secrets.GITHUB_TOKEN }}
139139
- name: Set version in pyproject.toml
140140
shell: bash
141141
run: |

0 commit comments

Comments
 (0)