forked from ThirteenAG/III.VC.SA.IV.Project2DFX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (32 loc) · 1.3 KB
/
appveyor.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
version: 1.0.{build}
skip_tags: true
image: Visual Studio 2022
configuration: Release
init:
- ps: >-
$releases = "https://github.com/ThirteenAG/III.VC.SA.LimitAdjuster/releases"
$name = "III.VC.SA.LimitAdjuster.zip"
$latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"}
$json = $latestRelease.Content | ConvertFrom-Json
$latestVersion = $json.tag_name
$url = "$releases/download/$latestVersion/$name"
Start-FileDownload $url -FileName 'C:\III.VC.SA.LimitAdjuster.zip'
7z e c:\III.VC.SA.LimitAdjuster.zip -oc:\III.VC.SA.LimitAdjuster
install:
- cmd: >-
git submodule update --init --recursive
premake5.bat
before_build:
- cmd: >-
copy "c:\III.VC.SA.LimitAdjuster\III.VC.SA.LimitAdjuster.asi" "c:\Projects\iii-vc-sa-iv-project2dfx\data\IIILodLights\III.VC.SA.LimitAdjuster.asi"
copy "c:\III.VC.SA.LimitAdjuster\III.VC.SA.LimitAdjuster.asi" "c:\Projects\iii-vc-sa-iv-project2dfx\data\VCLodLights\III.VC.SA.LimitAdjuster.asi"
copy "c:\III.VC.SA.LimitAdjuster\III.VC.SA.LimitAdjuster.asi" "c:\Projects\iii-vc-sa-iv-project2dfx\data\SALodLights\III.VC.SA.LimitAdjuster.asi"
build:
project: build/III.VC.SA.IV.Project2DFX.sln
verbosity: minimal
before_package:
- cmd: >-
cd data
release.bat
artifacts:
- path: data/*.zip