From 27b1514fe6a4f4b6ee514b8ce420257f12be2502 Mon Sep 17 00:00:00 2001 From: UltimateCoder Date: Mon, 25 Nov 2024 22:01:35 +0100 Subject: [PATCH] Update .github/workflows/nuget-ci.yml --- .github/workflows/nuget-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nuget-ci.yml b/.github/workflows/nuget-ci.yml index 0aaacf5..7be6637 100644 --- a/.github/workflows/nuget-ci.yml +++ b/.github/workflows/nuget-ci.yml @@ -1,5 +1,6 @@ on: push: + branches: [ master, develop ] tags: - "v[0-9]+.[0-9]+.[0-9]+" @@ -15,8 +16,8 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - name: Checkout - uses: https://github.com/actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 - name: Verify commit exists in origin/master run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*