forked from opensim/opensim
-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (34 loc) · 1015 Bytes
/
dotnetci.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
name: dotnet package
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '8.0.x', '9.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET ${{matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Display dotnet version
run: dotnet --version
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release
# - name: Run Tests
# run: dotnet test --logger "trx;LogFileName=<TestResults.trx>"
#
# - name: Create the package
# run: dotnet pack --configuration Release <my project>
# - name: Publish the package to GPR
# run: dotnet nuget push <my project>/bin/Release/*.nupkg
#
# - name: Publish the package to GPR
# run: dotnet nuget push <my project>/bin/Release/*.nupkg