@@ -45,15 +45,15 @@ jobs:
4545
4646 steps :
4747 - name : Clone the repo
48- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
48+ uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
4949 with :
5050 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
5151
5252 - name : Set up .NET
5353 uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
5454 with :
5555 dotnet-version : |
56- 10.0.100-rc.1.25451.107
56+ 10.0.x
5757 9.0.x
5858
5959 - name : Build
@@ -73,13 +73,13 @@ jobs:
7373 version_suffix_args : ${{ github.event_name != 'release' && format('--version-suffix "{0}"', inputs.version_suffix_override || format('ci.{0}', github.run_number)) || '' }}
7474
7575 steps :
76- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
76+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
7777
7878 - name : Setup .NET
7979 uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
8080 with :
8181 dotnet-version : |
82- 10.0.100-rc.1.25451.107
82+ 10.0.x
8383 9.0.x
8484
8585 - name : Pack
8989 --output "${{ github.workspace }}/artifacts/packages"
9090
9191 - name : Upload artifact
92- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
92+ uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
9393 if : ${{ !cancelled() }}
9494 with :
9595 name : build-artifacts
@@ -103,15 +103,15 @@ jobs:
103103 packages : write
104104
105105 steps :
106- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
106+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
107107
108108 - name : Setup .NET
109109 uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
110110 with :
111- dotnet-version : 10.0.100-rc.1.25451.107
111+ dotnet-version : 10.0.x
112112
113113 - name : Download build artifacts
114- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
114+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
115115
116116 - name : Authenticate to GitHub registry
117117 run : dotnet nuget add source
@@ -123,7 +123,7 @@ jobs:
123123
124124 - name : Publish to GitHub NuGet package registry
125125 run : dotnet nuget push
126- ${{github.workspace}}/build-artifacts/ packages/*.nupkg
126+ ${{github.workspace}}/packages/*.nupkg
127127 --source "github"
128128 --api-key ${{ secrets.GITHUB_TOKEN }}
129129 --skip-duplicate
@@ -138,14 +138,14 @@ jobs:
138138 packages : write
139139
140140 steps :
141- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
141+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
142142
143143 - name : Download build artifacts
144- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
144+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
145145
146146 - name : Upload release asset
147147 run : gh release upload ${{ github.event.release.tag_name }}
148- ${{ github.workspace }}/build-artifacts/ packages/*.*nupkg
148+ ${{ github.workspace }}/packages/*.*nupkg
149149 env :
150150 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
151151
@@ -158,19 +158,19 @@ jobs:
158158 permissions : { }
159159
160160 steps :
161- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
161+ - uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
162162
163163 - name : Setup .NET
164164 uses : actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
165165 with :
166- dotnet-version : 10.0.100-rc.1.25451.107
166+ dotnet-version : 10.0.x
167167
168168 - name : Download build artifacts
169- uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5 .0.0
169+ uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6 .0.0
170170
171171 - name : Publish to NuGet.org (Releases only)
172172 run : dotnet nuget push
173- ${{github.workspace}}/build-artifacts/ packages/*.nupkg
173+ ${{github.workspace}}/packages/*.nupkg
174174 --source https://api.nuget.org/v3/index.json
175175 --api-key ${{ secrets.NUGET_KEY_MODELCONTEXTPROTOCOL }}
176176 --skip-duplicate
0 commit comments