-
-
Notifications
You must be signed in to change notification settings - Fork 265
44 lines (38 loc) · 1.09 KB
/
pull-request.yaml
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
name: Validate Pull Request
on:
pull_request:
jobs:
validate-pull-request:
strategy:
matrix:
windows-version:
- windows-2019
- windows-2022
visual-studio-version:
- 16.11
- 17.3
# The GitHub Actions Windows images do not contain multiple versions of
# msbuild, so we need to exclude certain combinations.
exclude:
- windows-version: windows-2019
visual-studio-version: 17.3
- windows-version: windows-2022
visual-studio-version: 16.11
runs-on: ${{ matrix.windows-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
with:
vs-version: ${{ matrix.visual-studio-version }}
msbuild-architecture: x64
- name: Build
run: ./SharpShellNativeBridge/build.ps1
# Upload the artifacts folder.
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
./SharpShellNativeBridge/artifacts/