Lightweight coding agent that runs in your terminal
Rust
Use environment secrets for Azure signing (#24859)
Shijie Raoaf18e92140f8
diff --git a/.github/workflows/rust-release-windows.yml b/.github/workflows/rust-release-windows.ymlindex fc14088ef1..0d8cc29697 100644--- a/.github/workflows/rust-release-windows.yml+++ b/.github/workflows/rust-release-windows.yml@@ -6,19 +6,6 @@ on:release-lto:required: truetype: string- secrets:- AZURE_TRUSTED_SIGNING_CLIENT_ID:- required: true- AZURE_TRUSTED_SIGNING_TENANT_ID:- required: true- AZURE_TRUSTED_SIGNING_SUBSCRIPTION_ID:- required: true- AZURE_TRUSTED_SIGNING_ENDPOINT:- required: true- AZURE_TRUSTED_SIGNING_ACCOUNT_NAME:- required: true- AZURE_TRUSTED_SIGNING_CERTIFICATE_PROFILE_NAME:- required: true# Cargo's libgit2 transport has been flaky when fetching git dependencies with# nested submodules. Prefer the system git CLI across every Cargo invocation.@@ -164,6 +151,9 @@ jobs:- build-windows-binariesname: Build - ${{ matrix.runner }} - ${{ matrix.target }}runs-on: ${{ matrix.runs_on }}+ environment:+ name: azure-artifact-signing+ deployment: falsetimeout-minutes: 90permissions:contents: readdiff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.ymlindex 364fe78902..6b0814dae5 100644--- a/.github/workflows/rust-release.yml+++ b/.github/workflows/rust-release.yml@@ -865,7 +865,6 @@ jobs:uses: ./.github/workflows/rust-release-windows.ymlwith:release-lto: ${{ contains(github.ref_name, '-alpha') && 'thin' || 'fat' }}- secrets: inheritargument-comment-lint-release-assets:if: ${{ github.event_name != 'workflow_dispatch' || inputs.release_mode != 'promote_signed' }}