File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
build/LocalStack.Build/Properties Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 2424 - LocalStack.Client.Extensions
2525
2626jobs :
27- build-and-test :
27+ publish-nuget :
2828 runs-on : ubuntu-20.04
2929
3030 steps :
5959 run : |
6060 echo "Package Version: ${{ github.event.inputs.package-version }}"
6161
62+ - name : Remove Project Ref & Add latest pack
63+ if : ${{ github.event.inputs.package-id == 'LocalStack.Client.Extensions' }}
64+ run : cd src/LocalStack.Client.Extensions/ && dotnet remove reference ../LocalStack.Client/LocalStack.Client.csproj && dotnet add package LocalStack.Client
65+
6266 - name : Nuget Pack
6367 run : ./build.sh --target nuget-pack --package-source ${{ github.event.inputs.package-source }} --package-id ${{ github.event.inputs.package-id }} --package-version ${{ github.event.inputs.package-version }}
6468
Original file line number Diff line number Diff line change 1+ {
2+ "profiles" : {
3+ "LocalStack.Build" : {
4+ "commandName" : " Project" ,
5+ "commandLineArgs" : " --target nuget-push --package-version 1.2.3 --package-source myget --package-id LocalStack.Client --package-secret ************************"
6+ },
7+ "WSL 2" : {
8+ "commandName" : " WSL2" ,
9+ "commandLineArgs" : " --target get-version" ,
10+ "distributionName" : " Ubuntu-18.04"
11+ }
12+ }
13+ }
You can’t perform that action at this time.
0 commit comments