File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,12 @@ jobs:
58
58
cd ./src
59
59
ls
60
60
61
+ dotnet nuget add source https://nuget.pkg.github.com/organisation-name/index.json -n github -u dbones -p ${GH_TOKEN} --store-password-in-clear-text
61
62
dotnet restore --packages packages
62
63
dotnet build --no-restore --configuration Release --force -p:Version=$APP_VERSION
63
64
64
65
mkdir ./../nupkgs
65
- mv ./bin/**/*.nupkg ./../nupkgs
66
+ mv ./**/ bin/**/*.nupkg ./../nupkgs
66
67
67
68
cd ./../nupkgs
68
69
rm *.symbols.nupkg
77
78
78
79
test :
79
80
docker :
80
- - image : mcr.microsoft.com/dotnet/core/ sdk:5.0
81
+ - image : mcr.microsoft.com/dotnet/sdk:5.0
81
82
steps :
82
83
- attach_workspace :
83
84
at : ./
@@ -137,8 +138,9 @@ workflows:
137
138
filters :
138
139
branches :
139
140
ignore :
140
- - docs
141
+ - docs-branch
141
142
- build :
143
+ context : build-ctx
142
144
requires :
143
145
- setup
144
146
- test :
@@ -150,7 +152,7 @@ workflows:
150
152
- test
151
153
filters :
152
154
branches :
153
- only : master
155
+ only : main-branch
154
156
- publish :
155
157
context : build-ctx
156
158
requires :
Original file line number Diff line number Diff line change 27
27
"datatype" : " text" ,
28
28
"replaces" : " project-name" ,
29
29
"defaultValue" : " "
30
+ },
31
+ "main-branch" : {
32
+ "type" : " parameter" ,
33
+ "datatype" : " text" ,
34
+ "replaces" : " main-branch" ,
35
+ "defaultValue" : " main"
36
+ },
37
+ "docs-branch" : {
38
+ "type" : " parameter" ,
39
+ "datatype" : " text" ,
40
+ "replaces" : " docs-branch" ,
41
+ "defaultValue" : " docs"
30
42
}
31
43
}
32
44
}
You can’t perform that action at this time.
0 commit comments