Skip to content

Commit fd80df4

Browse files
Merge pull request #118 from notion-dotnet/ci/fix-publish-code-github-action
Upgrade upload-artifact to version 2⬆️
2 parents a46a54e + b5e60b5 commit fd80df4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/publish-code.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ jobs:
3636
dotnet pack --no-restore --no-build -o PackOutputs -c Release -p:Version=${{ github.event.release.tag_name }} -p:PackageReleaseNotes="See https://github.com/notion-dotnet/notion-sdk-net/releases/tag/${{ github.event.release.tag_name }}" -p:PackageReadmeFile=README.md
3737
3838
- name: Upload artifacts
39-
uses: actions/upload-artifact@v1
39+
uses: actions/upload-artifact@v2
4040
with:
4141
name: Notion.Net
42-
path: |
43-
PackOutputs/*
42+
path: PackOutputs/*
4443

4544
- name: Publish Nuget Package
4645
run: dotnet nuget push PackOutputs/* --api-key ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)