From a700faf3a99bc4ea649d02421b317d2e3cf93601 Mon Sep 17 00:00:00 2001 From: UltimateCoder Date: Mon, 25 Nov 2024 21:52:42 +0100 Subject: [PATCH] Update .github/workflows/nuget-ci.yml --- .github/workflows/nuget-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nuget-ci.yml b/.github/workflows/nuget-ci.yml index 0fa0ecd..6d24045 100644 --- a/.github/workflows/nuget-ci.yml +++ b/.github/workflows/nuget-ci.yml @@ -17,10 +17,10 @@ jobs: steps: - name: Checkout uses: https://github.com/actions/checkout@v2 - - name: Verify commit exists in origin/main + - name: Verify commit exists in origin/master run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - git branch --remote --contains | grep origin/main + git branch --remote --contains | grep origin/master #- name: Set VERSION variable from tag # run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Build