Update workflow.yml

This commit is contained in:
Jedd Morgan
2025-10-15 14:12:51 +01:00
committed by GitHub
parent 15f958febf
commit 09c744bb01
+3 -2
View File
@@ -9,9 +9,10 @@ jobs:
build:
env:
SOLUTION_NAME: "GrasshopperAsyncComponent.sln"
ENVIRONMENT_NAME: ${{ github.ref_type == 'tag' && 'nuget.org' || '' }}
runs-on: ubuntu-latest
environment:
name: 'nuget.org'
# 👇 Conditionally assign environment (empty string = no environment)
environment: ${{ env.ENVIRONMENT_NAME }}
permissions:
id-token: write # enable GitHub OIDC token issuance for this job
steps: