-
Notifications
You must be signed in to change notification settings - Fork 32
38 lines (30 loc) · 1.1 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
name: "CI / Debug Builds"
on:
workflow_dispatch:
push:
branches: master
pull_request:
branches: master
jobs:
Debug-Builds:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: microsoft/[email protected]
- uses: nuget/[email protected]
- name: Restoring Packages
run: nuget restore ./Encourage.sln
- name: Building x86 Version
run: msbuild './EncouragePackage.x86/EncouragePackage.x86.csproj' /p:configuration='Debug' /p:platform='x86' /p:DeployExtension='False'
- name: Building x64 Version
run: msbuild './EncouragePackage.x64/EncouragePackage.x64.csproj' /p:configuration='Debug' /p:platform='x64' /p:DeployExtension='False'
- name: Publishing x86 Artifact
uses: actions/upload-artifact@v3
with:
path: "./EncouragePackage.x86/bin/x86/Debug/Encourage.x86.vsix"
name: latest-x86
- name: Publishing x64 Artifact
uses: actions/upload-artifact@v3
with:
path: "./EncouragePackage.x64/bin/x64/Debug/Encourage.x64.vsix"
name: latest-x64