File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 3535 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
3636
3737 - name : Upload artifact
38- uses : actions/upload-artifact@v2
38+ uses : actions/upload-artifact@v4
3939 if : ${{ !cancelled() }}
4040 with :
4141 name : test-artifacts
Original file line number Diff line number Diff line change 4040 ${{ env.version_suffix_args}}
4141
4242 - name : Upload artifact
43- uses : actions/upload-artifact@v2
43+ uses : actions/upload-artifact@v4
4444 if : ${{ !cancelled() }}
4545 with :
4646 name : build-artifacts
Original file line number Diff line number Diff line change 5757 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
5858
5959 - name : Upload artifact
60- uses : actions/upload-artifact@v2
60+ uses : actions/upload-artifact@v4
6161 if : ${{ !cancelled() }}
6262 with :
6363 name : build-artifacts
@@ -67,16 +67,13 @@ jobs:
6767 name : Publish Package
6868 needs : build
6969 runs-on : ubuntu-latest
70- permissions :
71- packages : write
72- contents : write
7370 steps :
74- - uses : actions/download-artifact@v2
75-
76- # Append the nuget package to the github release that triggered this workflow
7771 - name : Checkout code
7872 uses : actions/checkout@v2
7973
74+ - name : Download build artifacts
75+ uses : actions/download-artifact@v4
76+
8077 - name : Upload release asset
8178 if : github.event_name == 'release'
8279 run : gh release upload ${{ github.event.release.tag_name }}
9592 - name : Publish package to local feed
9693 run : dotnet nuget push
9794 ${{github.workspace}}/build-artifacts/packages/*.nupkg
98- --source github
95+ --source "github"
96+ --api-key ${{ secrets.GITHUB_TOKEN }}
9997 --skip-duplicate
10098
10199 - name : Publish package to nuget.org
You can’t perform that action at this time.
0 commit comments