File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 36
36
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
37
37
38
38
- name : Upload artifacts
39
- uses : actions/upload-artifact@v2
39
+ uses : actions/upload-artifact@v4
40
40
with :
41
41
name : Notion.Net
42
42
path : PackOutputs/*
45
45
run : dotnet nuget push PackOutputs/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }}
46
46
47
47
- name : Upload Nuget packages as release artifacts
48
- uses : actions/github-script@v2
48
+ uses : actions/github-script@v7
49
49
with :
50
50
github-token : ${{secrets.GITHUB_TOKEN}}
51
51
script : |
Original file line number Diff line number Diff line change 45
45
ls -l PackOutputs/
46
46
47
47
- name : Upload artifacts
48
- uses : actions/upload-artifact@v2
48
+ uses : actions/upload-artifact@v4
49
49
with :
50
50
name : Notion.Net
51
51
path : PackOutputs/*
You can’t perform that action at this time.
0 commit comments