-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 944 Bytes
/
action_build.yml
File metadata and controls
44 lines (34 loc) · 944 Bytes
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
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Pull Git repo
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 3.1.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Release
- name: Test
run: dotnet test --no-build --verbosity normal --configuration Release
- name: Create artifact ParallelFileCopierCli
uses: actions/upload-artifact@v3
with:
name: ParallelFileCopierCli
path: ParallelFileCopier/bin/Release/netcoreapp3.1/*
- name: Create artifact ParallelFileCopierLib
uses: actions/upload-artifact@v3
with:
name: ParallelFileCopierLib
path: ParallelFileCopierLib/bin/Release/netstandard2.0/*