2828 nuget-packages-directory : ' nuget-packages'
2929
3030jobs :
31- global -variables :
32- name : ' Global variables'
31+ workflow -variables :
32+ name : ' Set workflow variables'
3333 runs-on : ubuntu-latest
3434
3535 outputs :
4949
5050 versioning :
5151 name : ' Determine assembly version'
52- needs : [global -variables]
52+ needs : [workflow -variables]
5353 runs-on : ubuntu-latest
5454
5555 outputs :
@@ -66,11 +66,11 @@ jobs:
6666 id : determine-version
6767 with :
6868 config-file-path : ' ./.gitversion/version.yml'
69- run-number : ${{ needs.global -variables.outputs.github-run-number }}
69+ run-number : ${{ needs.workflow -variables.outputs.github-run-number }}
7070
7171 build :
7272 name : ' Compile source code'
73- needs : [global -variables, versioning]
73+ needs : [workflow -variables, versioning]
7474 runs-on : ubuntu-latest
7575
7676 env :
8888 assembly-version : ${{ env.assembly-version }}
8989 assembly-informational-version : ${{ env.assembly-informational-version }}
9090 file-version : ${{ env.file-version }}
91- treat-warnins-as-error : ${{ needs.global -variables.outputs.is-release }}
91+ treat-warnins-as-error : ${{ needs.workflow -variables.outputs.is-release }}
9292
9393 test :
9494 name : ' Run tests'
@@ -166,10 +166,10 @@ jobs:
166166 publish-package :
167167 name : ' Publish development package'
168168 uses : ./.github/workflows/release-nuget-package.yml
169- needs : [global -variables, pack]
169+ needs : [workflow -variables, pack]
170170 secrets : inherit
171171 with :
172- artifact-run-id : ${{ needs.global -variables.outputs.github-run-id }}
172+ artifact-run-id : ${{ needs.workflow -variables.outputs.github-run-id }}
173173 artifact-name : ${{ needs.pack.outputs.package-artifact-name }}
174174 nuget-feed-server : ' AzureArtifacts'
175175 environment : ' Development'
0 commit comments