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 1
1
name : Test Publish Code
2
2
3
3
on :
4
- pull_request :
5
- branches : [main]
6
4
workflow_dispatch :
7
5
inputs :
8
6
version :
9
- description : ' Person to greet '
7
+ description : ' Version '
10
8
required : true
11
9
12
10
jobs :
37
35
- name : Pack solution [Release]
38
36
run : |
39
37
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/
40
40
rm -f PackOutputs/*.nupkg
41
+ echo 'Packages After Removing nupkg'
42
+ ls -l PackOutputs/
41
43
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/
42
46
43
47
- name : Upload artifacts
44
48
uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments