We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cbb745 commit 6380023Copy full SHA for 6380023
.github/workflows/build.yml
@@ -46,11 +46,9 @@ jobs:
46
id: prepareEnvVarsAndSecrets
47
with:
48
environmentVariablesYaml: |
49
- {}
+ BUILDVAR_NuGetPublishSource: "${{ startsWith(github.ref, 'refs/tags/') && 'https://api.nuget.org/v3/index.json' || 'https://nuget.pkg.github.com/endjin/index.json' }}"
50
secretsYaml: |
51
- {
52
- NUGET_API_KEY: "${{ secrets.GITHUB_TOKEN }}"
53
- }
+ NUGET_API_KEY: "${{ startsWith(github.ref, 'refs/tags/') && secrets.ENDJIN_NUGET_APIKEY || secrets.ENDJIN_GITHUB_PUBLISHER_PAT }}"
54
55
build:
56
needs: prepareConfig
0 commit comments