From 7763680fa15d9b1919d5dd0cf1162a21c8a01e85 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Mon, 1 Apr 2024 17:20:51 -0600 Subject: [PATCH] chore: can't use secrets in composite actions --- .../action-common-python-release/action.yml | 5 ----- .github/workflows/release-python.yml | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.github/action-common-python-release/action.yml b/.github/action-common-python-release/action.yml index 57b66841..5fdcd3da 100644 --- a/.github/action-common-python-release/action.yml +++ b/.github/action-common-python-release/action.yml @@ -26,11 +26,6 @@ runs: with: python-version: ${{ inputs.python-version }} architecture: ${{ inputs.python-architecture }} - - name: Install protoc - uses: arduino/setup-protoc@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - version: '3.20.1' - name: Update rustup run: rustup self update - name: Install Rust toolchain diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index 45bf6fd0..da513537 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -35,6 +35,11 @@ jobs: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/checkout@v2 + - name: Install protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + version: '3.20.1' - uses: ./.github/action-common-python-release with: package-name: ${{ matrix.package-name }} @@ -52,6 +57,11 @@ jobs: target: [x86_64, aarch64, ppc64le] steps: - uses: actions/checkout@v2 + - name: Install protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + version: '3.20.1' - uses: ./.github/action-common-python-release with: package-name: ${{ matrix.package-name }} @@ -65,6 +75,11 @@ jobs: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/checkout@v2 + - name: Install protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + version: '3.20.1' - uses: ./.github/action-common-python-release with: package-name: ${{ matrix.package-name }} @@ -82,6 +97,11 @@ jobs: package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web] steps: - uses: actions/checkout@v2 + - name: Install protoc + uses: arduino/setup-protoc@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + version: '3.20.1' - uses: ./.github/action-common-python-release with: package-name: ${{ matrix.package-name }}