forked from docusign/code-examples-csharp
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 863 Bytes
/
dotnet.yml
File metadata and controls
33 lines (29 loc) · 863 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
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1.1.3
- name: Restore dependencies
run: dotnet restore launcher-csharp.sln
- name: Build
run: dotnet build launcher-csharp.sln --no-restore
- name: Test
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
IMPERSONATED_USER_ID: ${{ secrets.IMPERSONATED_USER_ID }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
SIGNER_EMAIL: ${{ secrets.SIGNER_EMAIL }}
SIGNER_NAME: ${{ secrets.SIGNER_NAME }}
run: dotnet test launcher-csharp.sln --no-build --verbosity normal