generated from petabridge/Petabridge.Library
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (44 loc) · 1.13 KB
/
pr_validation.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
# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [CustomGitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_pr_validation --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: pr_validation
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: "Install .NET SDK"
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
global-json-file: "./global.json"
- name: Install MAUI Workloads
run: |
dotnet workload install maui --ignore-failed-sources
- name: "dotnet pack"
run: dotnet pack -c Release -o bin/nuget
- name: "dotnet test"
run: dotnet test -c Release