-
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1.03 KB
/
webapp-build-net-macos.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: MacOS Webapp .NET only 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: macos-latest
env:
WEBSITE_SITE_NAME: "ci"
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.403
- name: "BuildNetCore (MacOS)"
shell: bash
working-directory: ./starsky
run: bash build.sh --Target BuildNetCore --no-sonar --no-publish --no-dependencies --no-logo
- name: "TestNetCore (MacOS)"
shell: bash
working-directory: ./starsky
run: bash build.sh --Target TestNetCore --no-logo --no-publish