CI #54
This file contains 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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 * *' # Monthly | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Build | |
run: | | |
MSBuild.exe launcher/launcher.vcxproj /p:Configuration=Release | |
MSBuild.exe launcher/launcher.vcxproj /p:Configuration=Debug | |
- name: Move builded EXE into specific directory | |
run: | | |
mkdir compiled | |
mv launcher/Release/hl.exe ./compiled | |
mv launcher/Debug/hl.exe ./compiled/hl_debug.exe | |
- name: Deploy | |
uses: actions/[email protected] | |
with: | |
name: hl_launcher | |
path: compiled |