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 88
99jobs :
1010 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/*
3130
3231 test :
3332 name : Test with MsTest
4847 with :
4948 name : test-results
5049 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