File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change 1- name : .NET Core
1+ name : Build .NET Library
22
33on :
44 push :
@@ -23,17 +23,23 @@ jobs:
2323 run : dotnet build --configuration Release --no-restore
2424 - name : Test
2525 run : dotnet test --no-restore --verbosity normal
26- - name : Pack NuGet
27- uses : brandedoutcast/publish-nuget@v2.5.5
28- with :
29- # Filepath of the project to be packaged, relative to root of repository
30- PROJECT_FILE_PATH : src/QAToolKit.Engine.Bombardier/QAToolKit.Engine.Bombardier.csproj
31- VERSION_FILE_PATH : Directory.Build.props
32- # NUGET_KEY: ${{secrets.NUGET_API_KEY}}
3326 - name : Upload a Build Artifact
3427 uses : actions/upload-artifact@v2.2.0
3528 with :
3629 # Artifact name
3730 name : qatoolkit-engine-bombardier.zip
3831 # A file, directory or wildcard pattern that describes what to upload
3932 path : src/QAToolKit.Engine.Bombardier/bin/
33+ deploy :
34+ needs : build
35+ if : github.event_name == 'release'
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : actions/checkout@v2
39+ - name : Pack NuGet
40+ uses : brandedoutcast/publish-nuget@v2.5.5
41+ with :
42+ # Filepath of the project to be packaged, relative to root of repository
43+ PROJECT_FILE_PATH : src/QAToolKit.Engine.Bombardier/QAToolKit.Engine.Bombardier.csproj
44+ VERSION_FILE_PATH : Directory.Build.props
45+ # NUGET_KEY: ${{secrets.NUGET_API_KEY}}
You can’t perform that action at this time.
0 commit comments