File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,16 @@ jobs:
27
27
dotnet-version : 3.1.301
28
28
- name : Install buildevents
29
29
run : go get github.com/bgrainger/buildevents/
30
- - name : Build with dotnet
30
+ - name : .NET Restore
31
31
run : |
32
32
STEP_START=$(date +%s)
33
- /home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} build dotnet build --configuration Release
33
+ /home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} build build -- dotnet restore
34
34
/home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} build $STEP_START
35
+ - name : .NET Build
36
+ run : |
37
+ STEP_START=$(date +%s)
38
+ /home/runner/go/bin/buildevents cmd ${{ github.repository }}:${{ github.run_id }} restore restore -- dotnet build --configuration Release --no-restore
39
+ /home/runner/go/bin/buildevents step ${{ github.repository }}:${{ github.run_id }} restore $STEP_START
35
40
- name : Finish build
36
41
run : |
37
42
/home/runner/go/bin/buildevents build ${{ github.repository }}:${{ github.run_id }} $BUILD_START success
You can’t perform that action at this time.
0 commit comments