From 6c0a2bbcf98635f018bbe76379c4709722a737a7 Mon Sep 17 00:00:00 2001 From: Milos Chaloupka Date: Fri, 26 Jan 2024 20:56:47 +0000 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25d1989..ab46820 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,6 @@ on: description: Version of new NuGet package required: true - jobs: release: runs-on: windows-latest @@ -17,11 +16,11 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ 6.0.x }} + dotnet-version: 6.0.x - name: Install local tools run: dotnet tool restore - name: Build, Tests & Release - if: matrix.os == 'windows-latest' && github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' run: dotnet fake run build.fsx -t "PublishNuget" env: BUILD_NUMBER: ${{github.run_number}}