forked from Taiga74164/SLA-Cheeto
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (29 loc) · 799 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build
on:
push:
branches: [ main ]
env:
# SOLUTION_FILE_PATH: ./SoloLevelling.sln
PROJECT_FILE_PATH: ./cheat/SoloLevelling.vcxproj
BUILD_CONFIGURATION: Release
PLATFORM: x64
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.1.1
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.1
- name: Build
run: |
msbuild ${{ env.PROJECT_FILE_PATH }} /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform=${{ env.PLATFORM }}
- name: Upload Build Artifact
uses: actions/upload-artifact@v4.1.0
with:
name: build-artifact
path: ./cheat/bin/Release-x64/SLA_Cheeto.dll
if-no-files-found: error