File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 2121 uses : actions/checkout@v2
2222 with :
2323 fetch-depth : 0
24+ - name : Install dependencies
25+ run : dotnet restore
2426 - name : Build solution
25- run : dotnet build -c Release
27+ run : dotnet build -c Release --no-restore
2628 - name : Create NuGet packages
2729 run : dotnet pack -c Release --no-build -o nupkg
2830 - name : Upload nuget packages
3840 steps :
3941 - name : Checkout
4042 uses : actions/checkout@v2
41- - name : Download version info file
42- uses : actions/download-artifact@v1
43- with :
44- name : gitversion
45- path : ./
46- - name : Inject version info into environment
47- run : cat ./gitversion.env >> $GITHUB_ENV
4843 - name : Run tests
49- run : echo "Current version is \"$GitVersion_SemVer\"" && dotnet test -c Release
44+ run : dotnet test -c Release
You can’t perform that action at this time.
0 commit comments