HL2 #2
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
| name: HL2 | |
| on: [workflow_dispatch] | |
| jobs: | |
| build-windows-amd64: | |
| runs-on: windows-2019 | |
| steps: | |
| # Step 1: Checkout the code | |
| - uses: actions/checkout@v2 | |
| # Step 2: Build the project | |
| - name: Build windows-amd64 | |
| run: | | |
| git submodule init && git submodule update | |
| ./waf.bat configure -T release --prefix=hl2 --build-games=hl2 --disable-warns | |
| ./waf.bat build -p -v | |
| ./waf.bat install | |
| # Step 3: Upload build artifacts | |
| - name: Upload Executables | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: hl2_build | |
| path: | | |
| hl2/* |