3030
3131 ENABLED_DIAGNOSTICS : ${{ secrets.ENABLED_DIAGNOSTICS }}
3232
33+ permissions :
34+ contents : read
35+
3336jobs :
3437 prepare :
3538 name : Prepare Build
@@ -129,7 +132,7 @@ jobs:
129132 strategy :
130133 matrix :
131134 os : [windows-latest, ubuntu-latest, macos-latest]
132- targetFramework : [net48, net5.0, net6.0, netcoreapp3.1]
135+ targetFramework : [net6.0, netcoreapp3.1]
133136 fail-fast : false
134137
135138 steps :
@@ -213,7 +216,7 @@ jobs:
213216 runs-on : ubuntu-latest
214217 strategy :
215218 matrix :
216- targetFramework : [ '3.1', '5.0', ' 6.0' ]
219+ targetFramework : [ '3.1', '6.0' ]
217220 distro : [ alpine.3.12, alpine.3.13, alpine.3.14, centos.7, centos.8, debian.9, debian.10, debian.11, fedora.33, ubuntu.18.04, ubuntu.20.04 ]
218221 fail-fast : false
219222
@@ -251,10 +254,10 @@ jobs:
251254 path : ${{ github.workspace }}/artifacts/packages/native
252255 -
253256 name : Setup QEMU
254- uses : docker/setup-qemu-action@v1
257+ uses : docker/setup-qemu-action@v2
255258 -
256259 name : Set up Docker Buildx
257- uses : docker/setup-buildx-action@v1
260+ uses : docker/setup-buildx-action@v2
258261 with :
259262 install : true
260263 -
@@ -277,7 +280,7 @@ jobs:
277280 runs-on : ubuntu-latest
278281 strategy :
279282 matrix :
280- targetFramework : [ '3.1', '5.0', ' 6.0' ]
283+ targetFramework : [ '3.1', '6.0' ]
281284 distro : [ alpine.3.12, alpine.3.13, alpine.3.14, centos.7, centos.8, debian.9, debian.10, debian.11, fedora.33, ubuntu.18.04, ubuntu.20.04 ]
282285 fail-fast : false
283286
@@ -309,10 +312,10 @@ jobs:
309312 path : ${{ github.workspace }}/artifacts/packages/nuget
310313 -
311314 name : Setup QEMU
312- uses : docker/setup-qemu-action@v1
315+ uses : docker/setup-qemu-action@v2
313316 -
314317 name : Set up Docker Buildx
315- uses : docker/setup-buildx-action@v1
318+ uses : docker/setup-buildx-action@v2
316319 with :
317320 install : true
318321 -
@@ -323,7 +326,7 @@ jobs:
323326 -
324327 name : Login to DockerHub
325328 if : success() && github.event_name != 'pull_request' && github.repository_owner == 'GitTools'
326- uses : docker/login-action@v1
329+ uses : docker/login-action@v2
327330 with :
328331 username : ${{ secrets.DOCKER_USERNAME }}
329332 password : ${{ secrets.DOCKER_PASSWORD }}
@@ -346,7 +349,7 @@ jobs:
346349 -
347350 name : Login to GitHub Container Registry
348351 if : success() && github.event_name != 'pull_request' && github.repository_owner == 'GitTools'
349- uses : docker/login-action@v1
352+ uses : docker/login-action@v2
350353 with :
351354 registry : ghcr.io
352355 username : ${{ github.repository_owner }}
0 commit comments