From fca91ca45d63447dbeea79eef97d9a1655bc7f74 Mon Sep 17 00:00:00 2001 From: Martin Zanoni Date: Thu, 3 Jul 2025 13:19:17 +0200 Subject: [PATCH] Update publish workflow to use .net9 --- .github/workflows/publish.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index af94697..a769097 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,13 +6,22 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + fail-fast: true + matrix: + dotnet-version: ["9.0.x"] defaults: run: working-directory: ./src/Integrations.Umbraco timeout-minutes: 15 steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + + - name: Setup .NET Core SDK ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v4 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Verify commit exists in origin/main run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*