mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ci: use Release env for releases
This ensures we have access to Azure on CI runs for tags Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
57c4b71c61
commit
d1313cbd2d
2 changed files with 6 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -11,6 +11,7 @@ jobs:
|
|||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
build-type: Release
|
||||
environment: Release
|
||||
secrets: inherit
|
||||
|
||||
create_release:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue