File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ outputs:
3333 path :
3434 description : ' Build output path'
3535 value : ${{ steps.build.outputs.path }}
36+ version :
37+ description : ' Program version'
38+ value : ${{ steps.build.outputs.version }}
3639 artifact-id :
3740 description : ' Build output artifact ID'
3841 value : ${{ steps.upload.outputs.artifact-id }}
5861 msbuild /r /p:Configuration=${{ inputs.configuration }} /p:Flavor=${{ inputs.flavor }} ${{ inputs.build_options }}
5962 copy LICENSE ${{ inputs.project_directory }}\bin\${{ inputs.configuration }}
6063 echo "path=${{ inputs.project_directory }}\bin\${{ inputs.configuration }}" >> $env:GITHUB_OUTPUT
64+ $VERSION=(Get-Item -Path ${{ inputs.project_directory }}\bin\${{ inputs.configuration }}\*.exe).VersionInfo.ProductVersion
65+ echo "version=$VERSION" >> $env:GITHUB_OUTPUT
6166 shell : pwsh
6267
6368 - name : Upload build artifacts
Original file line number Diff line number Diff line change 4242 signing-policy-slug : ' test-signing'
4343 artifact-configuration-slug : ' portable'
4444 github-artifact-id : ' ${{ steps.build.outputs.artifact-id }}'
45+ parameters : |
46+ version: "${{ steps.build.outputs.version }}"
4547 wait-for-completion : true
4648 output-artifact-directory : ' signing_result'
4749
@@ -109,6 +111,8 @@ jobs:
109111 signing-policy-slug : ' test-signing'
110112 artifact-configuration-slug : ' installer-zip'
111113 github-artifact-id : ' ${{ steps.upload.outputs.artifact-id }}'
114+ parameters : |
115+ version: "${{ steps.build.outputs.version }}"
112116 wait-for-completion : true
113117 output-artifact-directory : ' signing_result'
114118
You can’t perform that action at this time.
0 commit comments