|
7 | 7 | "steps": |
8 | 8 | - "uses": "actions/checkout@main" |
9 | 9 | - "run": "cmd.exe /c .github\\workflows\\build_run_win_64_debug.bat" |
10 | | - - name: List build output |
11 | | - shell: pwsh |
12 | | - run: | |
13 | | - Get-ChildItem -Recurse build | Select-Object FullName |
14 | 10 | - name: Rename binary with commit info |
15 | 11 | shell: pwsh |
16 | 12 | run: | |
|
27 | 23 | "steps": |
28 | 24 | - "uses": "actions/checkout@main" |
29 | 25 | - "run": "cmd.exe /c .github\\workflows\\build_run_win_32_debug.bat" |
30 | | - - name: List build output |
31 | | - shell: pwsh |
32 | | - run: | |
33 | | - Get-ChildItem -Recurse build | Select-Object FullName |
34 | 26 | - name: Rename binary with commit info |
35 | 27 | shell: pwsh |
36 | 28 | run: | |
|
47 | 39 | "steps": |
48 | 40 | - "uses": "actions/checkout@main" |
49 | 41 | - "run": "cmd.exe /c .github\\workflows\\build_run_win_32_release.bat" |
50 | | - - name: List build output |
51 | | - shell: pwsh |
52 | | - run: | |
53 | | - Get-ChildItem -Recurse build | Select-Object FullName |
54 | 42 | - name: Rename binary with commit info |
55 | 43 | shell: pwsh |
56 | 44 | run: | |
57 | 45 | $shortSha = "${{ github.sha }}".Substring(0,12) |
58 | 46 | echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV |
59 | 47 | $run = "${{ github.run_number }}" |
60 | | - Rename-Item build\Debug\vmaware.exe "vmaware_${run}_${shortSha}.exe" |
| 48 | + Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" |
61 | 49 | - "uses": "actions/upload-artifact@main" |
62 | 50 | "with": |
63 | 51 | "path": build\Release\vmaware_${{ github.run_number }}_${{ github.shortSha }}.exe |
|
67 | 55 | "steps": |
68 | 56 | - "uses": "actions/checkout@main" |
69 | 57 | - "run": "cmd.exe /c .github\\workflows\\build_run_win_64_release.bat" |
70 | | - - name: List build output |
71 | | - shell: pwsh |
72 | | - run: | |
73 | | - Get-ChildItem -Recurse build | Select-Object FullName |
74 | 58 | - name: Rename binary with commit info |
75 | 59 | shell: pwsh |
76 | 60 | run: | |
77 | 61 | $shortSha = "${{ github.sha }}".Substring(0,12) |
78 | 62 | echo "SHORT_SHA=$shortSha" >> $env:GITHUB_ENV |
79 | 63 | $run = "${{ github.run_number }}" |
80 | | - Rename-Item build\Debug\vmaware.exe "vmaware_${run}_${shortSha}.exe" |
| 64 | + Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" |
81 | 65 | - "uses": "actions/upload-artifact@main" |
82 | 66 | "with": |
83 | 67 | "path": build\Release\vmaware_${{ github.run_number }}_${{ github.shortSha }}.exe |
|
0 commit comments