Skip to content

Commit 3fde7b7

Browse files
Merge pull request #452 from notion-dotnet/update-outdated-actions-in-publish-code-github-workflow
Update outdated actions in publish code workflow 💚
2 parents bf16a0f + d6947cc commit 3fde7b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ 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@v2
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: Notion.Net
4242
path: PackOutputs/*
@@ -45,7 +45,7 @@ jobs:
4545
run: dotnet nuget push PackOutputs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }}
4646

4747
- name: Upload Nuget packages as release artifacts
48-
uses: actions/github-script@v2
48+
uses: actions/github-script@v7
4949
with:
5050
github-token: ${{secrets.GITHUB_TOKEN}}
5151
script: |

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
ls -l PackOutputs/
4646
4747
- name: Upload artifacts
48-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v4
4949
with:
5050
name: Notion.Net
5151
path: PackOutputs/*

0 commit comments

Comments
 (0)