1111 shell : pwsh
1212 run : |
1313 $shortSha = "${{ github.sha }}".Substring(0,12)
14+ echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV
1415 $run = "${{ github.run_number }}"
1516 Rename-Item build\Debug\vmaware.exe "vmaware_${run}_${shortSha}.exe"
1617 - " uses " : " actions/upload-artifact@main"
1718 " with " :
18- " path " : build\Debug\vmaware_${{ github.run_number }}_${{ github.sha }}.exe
19+ " path " : build\Debug\vmaware_${{ github.run_number }}_${{ github.shortShaha }}.exe
1920 " name " : " vmaware64_debug.exe"
2021 " build_run_win_32_debug " :
2122 " runs-on " : " windows-latest"
2627 shell : pwsh
2728 run : |
2829 $shortSha = "${{ github.sha }}".Substring(0,12)
30+ echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV
2931 $run = "${{ github.run_number }}"
3032 Rename-Item build\Debug\vmaware.exe "vmaware_${run}_${shortSha}.exe"
3133 - " uses " : " actions/upload-artifact@main"
3234 " with " :
33- " path " : build\Debug\vmaware_${{ github.run_number }}_${{ github.sha }}.exe
35+ " path " : build\Debug\vmaware_${{ github.run_number }}_${{ github.shortShaha }}.exe
3436 " name " : " vmaware32_debug.exe"
3537 " build_run_win_32_release " :
3638 " runs-on " : " windows-latest"
4143 shell : pwsh
4244 run : |
4345 $shortSha = "${{ github.sha }}".Substring(0,12)
46+ echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV
4447 $run = "${{ github.run_number }}"
45- Rename-Item build\Release \vmaware.exe "vmaware_${run}_${shortSha}.exe"
48+ Rename-Item build\Debug \vmaware.exe "vmaware_${run}_${shortSha}.exe"
4649 - " uses " : " actions/upload-artifact@main"
4750 " with " :
48- " path " : build\Release\vmaware_${{ github.run_number }}_${{ github.sha }}.exe
51+ " path " : build\Release\vmaware_${{ github.run_number }}_${{ github.shortShaha }}.exe
4952 " name " : " vmaware32_release.exe"
5053 " build_run_win_64_release " :
5154 " runs-on " : " windows-latest"
5659 shell : pwsh
5760 run : |
5861 $shortSha = "${{ github.sha }}".Substring(0,12)
62+ echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV
5963 $run = "${{ github.run_number }}"
60- Rename-Item build\Release \vmaware.exe "vmaware_${run}_${shortSha}.exe"
64+ Rename-Item build\Debug \vmaware.exe "vmaware_${run}_${shortSha}.exe"
6165 - " uses " : " actions/upload-artifact@main"
6266 " with " :
63- " path " : build\Release\vmaware_${{ github.run_number }}_${{ github.sha }}.exe
67+ " path " : build\Release\vmaware_${{ github.run_number }}_${{ github.shortShaha }}.exe
6468 " name " : " vmaware64_release.exe"
0 commit comments