diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e81fd5a1..cfefb84ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,6 +62,9 @@ on: description: Type of build (Debug or Release) type: string default: Debug + environment: + description: Deployment environment to run under + type: string workflow_dispatch: inputs: build-type: @@ -73,6 +76,8 @@ jobs: build: name: Build (${{ matrix.artifact-name }}) + environment: ${{ inputs.environment || '' }} + permissions: # Required for Azure Trusted Signing id-token: write diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e5445c66..36cc972b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ jobs: uses: ./.github/workflows/build.yml with: build-type: Release + environment: Release secrets: inherit create_release: