-
-
Notifications
You must be signed in to change notification settings - Fork 21
49 lines (41 loc) · 1.05 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Configure build
shell: cmd
run: ./premake5.bat
- name: Build
shell: cmd
run: msbuild -m build/III.VC.SA.IV.Project2DFX.sln /property:Configuration=Release /property:Platform=Win32
- name: Download Open Limit Adjuster
uses: robinraju/release-downloader@main
with:
repository: "GTAmodding/III.VC.SA.LimitAdjuster"
latest: true
extract: true
out-file-path: "data"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
compression-level: 9
name: III.VC.SA.IV.Project2DFX
path: |
data\*
!data\*.exe
!data\*.bat
!data\*.zip
!data\2DFXDataGrabber\
!data\*\*.exp
!data\*\*.lib
!data\*\*.pdb