From 26e18eb4a8c509b20a16d6bccbabdb7002e298e8 Mon Sep 17 00:00:00 2001 From: Tho Ho Date: Fri, 24 Nov 2023 15:08:02 +0800 Subject: [PATCH] Add .NET 8.0 --- .azure/pipelines/azure-pipelines.yml | 1 - .github/workflows/aspnet-core.yml | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.azure/pipelines/azure-pipelines.yml b/.azure/pipelines/azure-pipelines.yml index 0432e83..5b08c1c 100644 --- a/.azure/pipelines/azure-pipelines.yml +++ b/.azure/pipelines/azure-pipelines.yml @@ -31,7 +31,6 @@ steps: displayName: "Use .NET Core sdk 8.x" inputs: version: 8.x - includePreviewVersions: true - task: UseDotNet@2 displayName: "Use .NET Core sdk 7.x" diff --git a/.github/workflows/aspnet-core.yml b/.github/workflows/aspnet-core.yml index 8751198..65446a0 100644 --- a/.github/workflows/aspnet-core.yml +++ b/.github/workflows/aspnet-core.yml @@ -26,7 +26,7 @@ jobs: dotnet-version: | 6.0.x 7.0.x - 8.0.x-x + 8.0.x - name: dotnet info run: dotnet --info @@ -106,12 +106,12 @@ jobs: flavor: | latest=auto suffix=${{ env.TAG_SUFFIX }} - prefix=8.0-rc- + prefix=8.0- tags: | type=raw,enable=${{ github.event_name != 'pull_request' }},priority=699,value=${{ steps.minver.outputs.version }} type=ref,event=branch,priority=500 - type=ref,event=pr,priority=500,prefix=8.0-preview-pr- - type=sha,enable=${{ github.event_name != 'pull_request' }},priority=400,prefix=8.0-preview-sha-,format=short + type=ref,event=pr,priority=500,prefix=8.0-pr- + type=sha,enable=${{ github.event_name != 'pull_request' }},priority=400,prefix=8.0-sha-,format=short type=match,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=600,pattern=^(\d+\.\d+(\.\d+)?(-.+)?)$,group=1 type=match,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=580,pattern=^(\d+\.\d+(\.\d+)?)(-.+)?$,group=1 type=match,enable=${{ startsWith(github.ref, 'refs/tags/') }},priority=570,pattern=^(\d+\.\d+)(\.\d+)?(-.+)?$,group=1