File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11name : build
22description : ' Restore and build the dotnet solution'
33
4- inputs :
5- dotnet-build-configuration :
6- default : Release
7- description : ' Defines the build configuration. The default for most projects is Release.'
8- required : true
9-
104runs :
115 using : " composite"
126 steps :
@@ -16,10 +10,18 @@ runs:
1610
1711 - name : Build solutions
1812 shell : bash
19- run : dotnet build --no-restore --configuration ${{ inputs.dotnet-build-configuration }}
20-
21- - name : Zip and upload build
22- uses : actions/upload-artifact@v4
13+ run : dotnet build --no-restore -c release
14+
15+ - name : Zip build
16+ shell : bash
17+ run : |
18+ del src\ExCSS\bin\Release\netstandard2.0\ExCSS.Unity.deps.json
19+ mkdir .\builds\lib\netstandard2.0
20+ copy .\src\ExCSS\bin\Release\netstandard2.0\*.* .\builds\lib\netstandard2.0
21+ zip -r ./artifacts/build.zip ./builds
22+
23+ - name : Upload build
24+ uses : actions/upload-artifact@v4
2325 with :
24- name :
25- path : ./
26+ name : build.zip
27+ path : ./artifacts
Original file line number Diff line number Diff line change 1717
1818 - name : Restore and build
1919 uses : ' ./.github/actions/dotnet/build'
20- with :
21- retention-days : 5
2220
2321 - name : Execute unit test and publish reports
2422 uses : ' ./.github/actions/dotnet/test'
You can’t perform that action at this time.
0 commit comments