-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (36 loc) · 1.18 KB
/
Copy pathmain.yml
File metadata and controls
47 lines (36 loc) · 1.18 KB
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
name: Build NET XLL
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: MSBuild Configuration
uses: microsoft/setup-msbuild@v1
- name: NuGet Configuration
uses: Nuget/setup-nuget@v1.0.5
- name: Go to WORKSPACE
run: cd $GITHUB_WORKSPACE
- name: Restore Packages
run: nuget restore DNATest.sln
- name: Build XLL
run: |
msbuild.exe DNATest.sln /p:platform="Any CPU" /p:configuration="Release"
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: DNATest-packed
path: |
.\DNATest\bin\Release\DNATest-AddIn-packed.xll
.\DNATest\bin\Release\DNATest-AddIn64-packed.xll
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
.\DNATest\bin\Release\DNATest-AddIn-packed.xll
.\DNATest\bin\Release\DNATest-AddIn64-packed.xll