From b227248bca8fee5f81120c81a4bba4374b268119 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Fri, 15 Dec 2023 09:32:34 -0500 Subject: [PATCH] Make branch name check conditional --- .github/workflows/build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cd09ffd..88e343e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,6 +9,7 @@ jobs: platform: common token: ${{ github.token }} - name: Determine branch name + if: github.ref_type == 'tag' shell: bash runs: git branch --contains ${{ github.sha }} - uses: secondlife/action-autobuild-release@v2