-
-
Notifications
You must be signed in to change notification settings - Fork 36
40 lines (40 loc) · 1016 Bytes
/
ci.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
name: ci
on:
push:
branches: [main, release-*]
pull_request:
permissions: read-all
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
MINVERBUILDMETADATA: build.${{ github.run_id }}.${{ github.run_attempt}}
jobs:
ci:
strategy:
fail-fast: false
matrix:
job:
- name: macos
os: macos-14
- name: ubuntu
os: ubuntu-22.04
- name: windows
os: windows-2022
name: ${{ matrix.job.name }}
runs-on: ${{ matrix.job.os }}
steps:
- uses: actions/setup-dotnet@v4.0.1
with:
dotnet-version: |
6.0.424
8.0.303
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0
filter: tree:0
- run: ./build --logger GitHubActions
- if: matrix.job.name == 'ubuntu'
uses: actions/upload-artifact@v4.3.4
with:
name: NuGet packages
path: ./**/*.nupkg