-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 877 Bytes
/
dotnet.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
name: FlexiMail Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Pulling Code
uses: actions/checkout@v3
- name: Installing .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.*
- name: Restoring Packages
run: dotnet restore
- name: Building Solution
run: dotnet build --no-restore
- name: Running Tests
run: dotnet test --no-build --verbosity normal
env:
Authority: ${{ secrets.AUTHORITY }}
ClientId: ${{ secrets.CLIENTID }}
ClientSecret: ${{ secrets.CLIENTSECRET }}
PrincipalName: ${{ secrets.PRINCIPALNAME }}
Sid: ${{ secrets.SID }}
SmtpAddress: ${{ secrets.SMTPADDRESS }}
TenantId: ${{ secrets.TENANTID }}
FlexiTestEmail: ${{ secrets.FLEXITESTEMAIL }}