Skip to content

Commit c02e616

Browse files
authored
Update build.yml
1 parent c4b848d commit c02e616

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ jobs:
3636
- name: Build
3737
run: dotnet build ${{ env.Project_Path }} --configuration Release --no-restore
3838

39+
# Get package version
40+
- name: Get Package Version
41+
run: |
42+
$version = [system.diagnostics.fileversioninfo]::getversioninfo("Flow.Launcher.Localization\bin\Release\netstandard2.0\Flow.Launcher.Localization.dll").productversion
43+
echo "release_version=$version" | out-file -filepath $env:github_env -encoding utf-8 -append
44+
3945
# Execute all unit tests in the solution
4046
- name: Execute unit tests
4147
if: github.event_name == 'push' && github.ref != 'refs/heads/main'

0 commit comments

Comments
 (0)