File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 11name : Test Publish Code
22
33on :
4- pull_request :
5- branches : [main]
64 workflow_dispatch :
75 inputs :
86 version :
9- description : ' Person to greet '
7+ description : ' Version '
108 required : true
119
1210jobs :
3735 - name : Pack solution [Release]
3836 run : |
3937 dotnet pack --no-restore --no-build -o PackOutputs -c Release -p:Version=${{ github.event.inputs.version }} -p:PackageReleaseNotes="See https://github.com/notion-dotnet/notion-sdk-net/releases/tag/${{ github.event.inputs.version }}" -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
38+ echo 'Generated Packages'
39+ ls -l PackOutputs/
4040 rm -f PackOutputs/*.nupkg
41+ echo 'Packages After Removing nupkg'
42+ ls -l PackOutputs/
4143 dotnet pack --no-restore --no-build -o PackOutputs -c Release -p:Version=${{ github.event.inputs.version }} -p:PackageReleaseNotes="See https://github.com/notion-dotnet/notion-sdk-net/releases/tag/${{ github.event.inputs.version }}" -p:PackageReadmeFile=README.md
44+ echo 'Final Packages'
45+ ls -l PackOutputs/
4246
4347 - name : Upload artifacts
4448 uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments