Skip to content

Commit 4112279

Browse files
Update test publish code to print packages names
1 parent 96a2b2e commit 4112279

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/test-publish-code.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Test Publish Code
22

33
on:
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

1210
jobs:
@@ -37,8 +35,14 @@ jobs:
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

0 commit comments

Comments
 (0)