From 22c177284ec5232462da31047f53295669daa3ae Mon Sep 17 00:00:00 2001 From: Chris McKee Date: Thu, 2 Jan 2025 18:41:00 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20manually=20set=20.net=20version=20in=20a?= =?UTF-8?q?ctions=20=F0=9F=99=84=20https://github.com/actions/setup-dotnet?= =?UTF-8?q?/issues/562?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-build.yml | 2 ++ .github/workflows/ci-manual-build-test-sign.yml | 2 ++ .github/workflows/codeql-analysis.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d3e6acc..bfdd067 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -40,6 +40,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x - name: 'Restore external dependencies' run: dotnet restore diff --git a/.github/workflows/ci-manual-build-test-sign.yml b/.github/workflows/ci-manual-build-test-sign.yml index 4817025..d968c2f 100644 --- a/.github/workflows/ci-manual-build-test-sign.yml +++ b/.github/workflows/ci-manual-build-test-sign.yml @@ -45,6 +45,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x - name: 'Build' run: dotnet build --configuration Release --property:PublicRelease=${{ inputs.public_release }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 7966862..28d0345 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -60,6 +60,8 @@ jobs: - name: 'Setup .NET SDK' uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.0.x # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL