File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+
12+ - name : Checkout the repository
13+ uses : actions/checkout@v1
14+
15+ - name : Setup .NET Core
16+ uses : actions/setup-dotnet@v1
17+ with :
18+ dotnet-version : 3.1.101
19+
20+ - name : Build with dotnet
21+ run : dotnet build --configuration Release .\\src\\Blazor-Analytics.sln
22+
23+ - name : Test with dotnet
24+ run : dotnet test .\\src\\Blazor-Analytics.sln
25+
26+ - name : Pack with dotnet
27+ run : dotnet pack --configuration Release .\\src\\Blazor-Analytics.sln
Original file line number Diff line number Diff line change 1- name : .NET Core (Ubuntu)
1+ name : Build
22
3- on : [push]
3+ on :
4+ release :
5+ types : [published]
6+ branches :
7+ - ' master'
48
59jobs :
610 build :
2731 run : dotnet pack --configuration Release .\\src\\Blazor-Analytics.sln
2832
2933 - name : Push package to NuGet
30- run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
34+ run : dotnet nuget push **/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
Original file line number Diff line number Diff line change 1+ assembly-versioning-scheme : MajorMinorPatchTag
2+ assembly-file-versioning-scheme : MajorMinorPatchTag
3+ commit-message-incrementing : Disabled
4+ mode : ContinuousDelivery
5+ branches :
6+ master :
7+ mode : ContinuousDeployment
8+ tag : beta
9+ regex : master$
10+ increment : minor
11+ source-branches :
12+ - feature
13+ - hotfix
14+ tracks-release-branches : false
15+ is-release-branch : true
16+ feature :
17+ mode : ContinuousDeployment
18+ regex : features?[/-]
19+ tag : useBranchName
20+ increment : Inherit
21+ source-branches :
22+ - master
23+ - feature
24+ - hotfix
25+ is-release-branch : false
26+ task :
27+ mode : ContinuousDeployment
28+ regex : tasks?[/-]
29+ tag : useBranchName
30+ increment : Inherit
31+ source-branches :
32+ - master
33+ - feature
34+ - hotfix
35+ is-release-branch : false
36+ hotfix :
37+ mode : ContinuousDeployment
38+ regex : hotfix[/-]
39+ tag : ' patch'
40+ increment : Patch
41+ prevent-increment-of-merged-branch-version : true
42+ source-branches :
43+ - master
44+ - feature
45+ - hotfix
46+ tracks-release-branches : false
47+ is-release-branch : false
48+ bugfix :
49+ mode : ContinuousDeployment
50+ regex : bugfixs?[/-]
51+ tag : useBranchName
52+ increment : Inherit
53+ source-branches :
54+ - master
55+ - feature
56+ - hotfix
57+ is-release-branch : false
58+ ignore :
59+ sha : []
You can’t perform that action at this time.
0 commit comments