Skip to content

Commit d0f1eac

Browse files
update outdated actions in publish code workflow
1 parent bf16a0f commit d0f1eac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
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: |

0 commit comments

Comments
 (0)