From c5f25e64b365aa6012a9969c2ced0d0dc2ec566a Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Sat, 27 Apr 2024 01:19:05 +0800 Subject: [PATCH] fix: avoid api limit --- .github/workflows/build-nightly-release.yml | 4 ++++ .github/workflows/build-release.yml | 4 ++++ .github/workflows/clippy-check.yml | 2 ++ 3 files changed, 10 insertions(+) diff --git a/.github/workflows/build-nightly-release.yml b/.github/workflows/build-nightly-release.yml index a004fd86..cbdf9901 100644 --- a/.github/workflows/build-nightly-release.yml +++ b/.github/workflows/build-nightly-release.yml @@ -85,6 +85,8 @@ jobs: echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: | @@ -115,6 +117,8 @@ jobs: - uses: ilammy/setup-nasm@v1 - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: | diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5f03fa6d..bf824f38 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -105,6 +105,8 @@ jobs: echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: | @@ -138,6 +140,8 @@ jobs: - uses: ilammy/setup-nasm@v1 - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: | diff --git a/.github/workflows/clippy-check.yml b/.github/workflows/clippy-check.yml index 9a969607..0dcac46e 100644 --- a/.github/workflows/clippy-check.yml +++ b/.github/workflows/clippy-check.yml @@ -27,6 +27,8 @@ jobs: uses: ilammy/setup-nasm@v1 - name: Install Protoc uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install Rust run: | rustup set profile minimal