File tree Expand file tree Collapse file tree 1 file changed +43
-21
lines changed Expand file tree Collapse file tree 1 file changed +43
-21
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- uses : ./.github/actions/build-dotnet.yml@feature/v2-implementation
12
- # name: Build with .NET 9
13
- # runs-on: ubuntu-latest
14
- # steps:
15
- # - uses: actions/checkout@v3
16
- # - name: Install .NET 9
17
- # uses: actions/setup-dotnet@v4
18
- # with:
19
- # dotnet-version: 9.x
20
- # - name: Restore
21
- # run: dotnet restore ./src/**/*.csproj
22
- # - name: Build
23
- # run: dotnet build ./src/**/*.csproj --no-restore --configuration Release
24
- # - name: Upload
25
- # uses: actions/upload-artifact@v4
26
- # with:
27
- # name: build
28
- # path: |
29
- # src/**/bin/*
30
- # src/**/obj/*
11
+ name : Build with .NET 9
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ - name : Install .NET 9
16
+ uses : actions/setup-dotnet@v4
17
+ with :
18
+ dotnet-version : 9.x
19
+ - name : Restore
20
+ run : dotnet restore ./src/**/*.csproj
21
+ - name : Build
22
+ run : dotnet build ./src/**/*.csproj --no-restore --configuration Release
23
+ - name : Upload
24
+ uses : actions/upload-artifact@v4
25
+ with :
26
+ name : build
27
+ path : |
28
+ src/**/bin/*
29
+ src/**/obj/*
31
30
32
31
test :
33
32
name : Test with MsTest
48
47
with :
49
48
name : test-results
50
49
path : |
51
- **/test-results/*
50
+ **/test-results/*
51
+
52
+ pack :
53
+ name : Pack with .NET 9
54
+ runs-on : ubuntu-latest
55
+ steps :
56
+ - uses : actions/checkout@v3
57
+ - name : Install .NET 9
58
+ uses : actions/setup-dotnet@v4
59
+ with :
60
+ dotnet-version : 9.x
61
+ - name : Download
62
+ uses : actions/download-artifact@v4
63
+ with :
64
+ name : build
65
+ path : .
66
+ - name : Pack
67
+ run : dotnet pack ./src/**/*.csproj --no-build --no-restore --configuration Release
68
+ - name : Upload
69
+ uses : actions/upload-artifact@v4
70
+ with :
71
+ name : package
72
+ path : |
73
+ **/*.nupkg
You can’t perform that action at this time.
0 commit comments