Skip to content

Commit bce4756

Browse files
authored
Update build to work with new shared GHA components (#244)
* Test updated shared GHA components * Prepare for released workflow updates
1 parent ceb2b5f commit bce4756

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ jobs:
4949
BUILDVAR_NuGetPublishSource: "${{ startsWith(github.ref, 'refs/tags/') && 'https://api.nuget.org/v3/index.json' || format('https://nuget.pkg.github.com/{0}/index.json', github.repository_owner) }}"
5050
secretsYaml: |
5151
NUGET_API_KEY: "${{ startsWith(github.ref, 'refs/tags/') && secrets.NUGET_APIKEY || secrets.BUILD_PUBLISHER_PAT }}"
52+
secretsEncryptionKey: ${{ secrets.SHARED_WORKFLOW_KEY }}
53+
5254

5355
build:
5456
needs: prepareConfig
5557
uses: endjin/Endjin.RecommendedPractices.GitHubActions/.github/workflows/scripted-build-pipeline.yml@main
5658
with:
5759
netSdkVersion: '8.0.x'
58-
# additionalNetSdkVersion: '7.0.x'
60+
additionalNetSdkVersion: '9.0.x'
5961
# workflow_dispatch inputs are always strings, the type property is just for the UI
6062
forcePublish: ${{ github.event.inputs.forcePublish == 'true' }}
6163
skipCleanup: ${{ github.event.inputs.skipCleanup == 'true' }}
@@ -73,4 +75,5 @@ jobs:
7375
# compilePhaseSecrets: ${{ needs.prepareConfig.outputs.RESOLVED_SECRETS }}
7476
# testPhaseSecrets: ${{ needs.prepareConfig.outputs.RESOLVED_SECRETS }}
7577
# packagePhaseSecrets: ${{ needs.prepareConfig.outputs.RESOLVED_SECRETS }}
76-
publishPhaseSecrets: ${{ needs.prepareConfig.outputs.RESOLVED_SECRETS }}
78+
publishPhaseSecrets: ${{ needs.prepareConfig.outputs.RESOLVED_SECRETS }}
79+
secretsEncryptionKey: ${{ secrets.SHARED_WORKFLOW_KEY }}

0 commit comments

Comments
 (0)