From 2fca45b0488f2cb867ece3faa6bb6832db484344 Mon Sep 17 00:00:00 2001 From: tison Date: Tue, 9 Apr 2024 02:13:24 +0800 Subject: [PATCH] ci: setup-protoc always with token (#3674) Signed-off-by: tison --- .github/actions/build-windows-artifacts/action.yml | 2 ++ .github/workflows/develop.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/actions/build-windows-artifacts/action.yml b/.github/actions/build-windows-artifacts/action.yml index 6b9fb3bde51e..9ee4dbce14fa 100644 --- a/.github/actions/build-windows-artifacts/action.yml +++ b/.github/actions/build-windows-artifacts/action.yml @@ -26,6 +26,8 @@ runs: using: composite steps: - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install rust toolchain uses: dtolnay/rust-toolchain@master diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 839d45f59115..79fc25a23f75 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -93,6 +93,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ env.RUST_TOOLCHAIN }} @@ -127,6 +129,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: arduino/setup-protoc@v3 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ env.RUST_TOOLCHAIN }}