Skip to content

Commit

Permalink
chore: can't use secrets in composite actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jselig-rigetti committed Apr 1, 2024
1 parent 6acb028 commit 7763680
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/action-common-python-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 7763680

Please sign in to comment.