-
Notifications
You must be signed in to change notification settings - Fork 8
48 lines (36 loc) · 1.28 KB
/
release.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
name: Upload releases
on:
release:
types:
- created
jobs:
build_and_upload:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
name: Checkout Code
- name: Setup MSBuild Path
uses: microsoft/[email protected]
with:
vs-version: '[16.0,17.0)'
- name: Setup NuGet
uses: nuget/setup-nuget@v1
- name: Restore NuGet Packages
run: nuget restore ccx_testsuite.sln
- name: Build
run: msbuild ccx_testsuite.sln /t:ccx_testsuite /p:Platform="x86" /p:Configuration=Release
- name: Prepare artifact upload
run: mkdir ./artifact; cp ./CCExtractorTester.exe ./artifact/; cp ./testGenerations.dll ./artifact/; cp ./CommandLine.dll ./artifact/
working-directory: CCExtractorTester\bin\Release\
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
directory: 'CCExtractorTester\bin\Release'
path: 'artifact'
filename: 'CCExtractorTestSuite-${{ github.event.release.tag_name }}.zip'
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
CCExtractorTester/bin/Release/CCExtractorTestSuite-${{ github.event.release.tag_name }}.zip