-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (37 loc) · 1.44 KB
/
publish-nightly-build.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
name: Build installation packages
on: push
jobs:
build:
name: Build installation packages on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, ubuntu-16.04]
include:
- os: windows-2019
script_name: .\build.cmd
- os: ubuntu-16.04
script_name: ./build.sh
steps:
- name: checkout
uses: actions/checkout@v1
- name: Download and install node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install .NET 3.x SDK for build
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.103'
- name: Restore .NET Core tools
run: dotnet tool restore
- name: Build - restore nuget packages
run: ${{ matrix.script_name }} --target=restore-nuget-packages --verbosity=verbose
- name: Publish
run: ${{ matrix.script_name }} --target=Publish --verbosity=verbose
- name: Upload built packages
uses: actions/upload-artifact@v1
continue-on-error: true
with:
name: installation packages
path: build/publish/ # We upload *everything*, but I'd rather upload just the zip files