fix(build): Publish symbols package
This commit is contained in:
@@ -3,6 +3,7 @@ version=$(cat version)
|
||||
publish_dir="./source/$1/bin/Release"
|
||||
full_version="$version.$2"
|
||||
package_name="$1.$version.nupkg"
|
||||
symbols_name="$1.$version.snupkg"
|
||||
|
||||
dotnet pack \
|
||||
./source/"$1"/"$1".csproj \
|
||||
@@ -16,3 +17,6 @@ dotnet pack \
|
||||
|
||||
echo "::set-output name=artifact-name::$package_name"
|
||||
echo "::set-output name=artifact::$publish_dir/$package_name"
|
||||
|
||||
echo "::set-output name=symbols-name::$symbols_name"
|
||||
echo "::set-output name=symbols::$publish_dir/$symbols_name"
|
||||
|
||||
Reference in New Issue
Block a user