-
Notifications
You must be signed in to change notification settings - Fork 20
52 lines (43 loc) · 1.1 KB
/
ci.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
50
51
52
name: CI
on:
push:
branches:
- master
paths-ignore:
- 'README.md'
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Visual C++ 6.0
run: |
git clone --depth 1 https://github.com/itsmattkc/MSVC600
- name: Build
shell: cmd
run: |
call MSVC600/VC98/Bin/vcvars32.bat
msdev Rebuilder.dsw /make
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.1
with:
path:
Rebuilder/Release/Rebuilder.exe
- name: Upload to Releases
shell: bash
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TRAVIS_REPO_SLUG: isledecomp/LEGOIslandRebuilder
TRAVIS_COMMIT: ${{ github.sha }}
run: |
curl -fLOSs --retry 2 --retry-delay 60 https://github.com/probonopd/uploadtool/raw/master/upload.sh
./upload.sh Rebuilder/Release/Rebuilder.exe