-
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1.04 KB
/
webapp-build-net-windows.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
48
name: Windows .NET build
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ master ]
paths:
- 'starsky/**'
- '!starsky/starsky/clientapp/**'
workflow_dispatch:
pull_request:
branches: [ master ]
paths:
- 'starsky/**'
- '!starsky/starsky/clientapp/**'
- '.github/workflows/**'
- '!starsky/Dockerfile'
- '!starsky/docker_demo_setup.sh'
jobs:
build:
runs-on: windows-latest
env:
WEBSITE_SITE_NAME: "ci"
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.404
- name: Build (Windows)
shell: pwsh
working-directory: ./starsky
run: pwsh build.ps1 --Target BuildNetCore --no-sonar --no-dependencies --no-publish --no-logo
- name: Test (Windows)
shell: pwsh
working-directory: ./starsky
run: pwsh build.ps1 --Target TestNetCore --no-sonar --no-dependencies --no-publish --no-logo