update: added contributor graph image #1158
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # this code is absolutely atrocious but hey, if it works then it works. | |
| "on": "push" | |
| "jobs": | |
| "build_run_win_64_debug": | |
| "runs-on": "windows-latest" | |
| "steps": | |
| - "uses": "actions/checkout@main" | |
| - "run": "cmd.exe /c .github\\workflows\\build_run_win_64_debug.bat" | |
| - name: Rename binary with commit info | |
| shell: pwsh | |
| run: | | |
| $shortSha = "${{ github.sha }}".Substring(0,12) | |
| $run = "${{ github.run_number }}" | |
| Add-Content $env:GITHUB_ENV "SHORT_SHA=$shortSha" | |
| Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" | |
| - "uses": "actions/upload-artifact@main" | |
| "with": | |
| "path": build\Release\vmaware_${{ github.run_number }}_${{ env.SHORT_SHA }}.exe | |
| "name": "vmaware64_debug.exe" | |
| "build_run_win_32_debug": | |
| "runs-on": "windows-latest" | |
| "steps": | |
| - "uses": "actions/checkout@main" | |
| - "run": "cmd.exe /c .github\\workflows\\build_run_win_32_debug.bat" | |
| - name: Rename binary with commit info | |
| shell: pwsh | |
| run: | | |
| $shortSha = "${{ github.sha }}".Substring(0,12) | |
| $run = "${{ github.run_number }}" | |
| Add-Content $env:GITHUB_ENV "SHORT_SHA=$shortSha" | |
| Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" | |
| - "uses": "actions/upload-artifact@main" | |
| "with": | |
| "path": build\Release\vmaware_${{ github.run_number }}_${{ env.SHORT_SHA }}.exe | |
| "name": "vmaware32_debug.exe" | |
| "build_run_win_32_release": | |
| "runs-on": "windows-latest" | |
| "steps": | |
| - "uses": "actions/checkout@main" | |
| - "run": "cmd.exe /c .github\\workflows\\build_run_win_32_release.bat" | |
| - name: Rename binary with commit info | |
| shell: pwsh | |
| run: | | |
| $shortSha = "${{ github.sha }}".Substring(0,12) | |
| $run = "${{ github.run_number }}" | |
| Add-Content $env:GITHUB_ENV "SHORT_SHA=$shortSha" | |
| Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" | |
| - "uses": "actions/upload-artifact@main" | |
| "with": | |
| "path": build\Release\vmaware_${{ github.run_number }}_${{ env.SHORT_SHA }}.exe | |
| "name": "vmaware32_release.exe" | |
| "build_run_win_64_release": | |
| "runs-on": "windows-latest" | |
| "steps": | |
| - "uses": "actions/checkout@main" | |
| - "run": "cmd.exe /c .github\\workflows\\build_run_win_64_release.bat" | |
| - name: Rename binary with commit info | |
| shell: pwsh | |
| run: | | |
| $shortSha = "${{ github.sha }}".Substring(0,12) | |
| $run = "${{ github.run_number }}" | |
| Add-Content $env:GITHUB_ENV "SHORT_SHA=$shortSha" | |
| Rename-Item build\Release\vmaware.exe "vmaware_${run}_${shortSha}.exe" | |
| - "uses": "actions/upload-artifact@main" | |
| "with": | |
| "path": build\Release\vmaware_${{ github.run_number }}_${{ env.SHORT_SHA }}.exe | |
| "name": "vmaware64_release.exe" |