forked from dymanoid/RealTime
-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (26 loc) · 827 Bytes
/
Copy pathpr.yml
File metadata and controls
33 lines (26 loc) · 827 Bytes
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
name: Pull Request Check
on:
pull_request:
branches: [master]
jobs:
build:
name: Build solution
if: github.actor == 'dymanoid'
runs-on: windows-latest
steps:
- name: Get sources
uses: actions/checkout@v1
with:
submodules: true
- name: Setup MSBuild environment
uses: microsoft/setup-msbuild@v1.0.0
- name: Get referenced binaries
uses: actions/checkout@v1
with:
repository: dymanoid/CitiesSkylinesBinaries
ref: refs/heads/master
path: binaries
token: ${{ secrets.GITHUB_ACTIONS_PAT }}
- name: Build solution
working-directory: src
run: msbuild RealTime.sln /nologo /m /verbosity:minimal /restore /p:Configuration=Release /p:CitiesSkylinesBinaries="$env:GITHUB_WORKSPACE\..\binaries\"