From 8278fb7ea8fd7393eda9337f43d21693134fdd5b Mon Sep 17 00:00:00 2001 From: olegfomenko2002 Date: Thu, 23 Nov 2023 20:24:59 +0200 Subject: [PATCH] fixing check branch --- .github/workflows/packages-rc.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/packages-rc.yml b/.github/workflows/packages-rc.yml index 43525e5f..43aab3cd 100644 --- a/.github/workflows/packages-rc.yml +++ b/.github/workflows/packages-rc.yml @@ -11,15 +11,15 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: + - name: Check branch + if: !endsWith(github.ref, 'mainnet-beta') + run: exit -1 + - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Check branch - if: !endsWith(github.ref, 'mainnet-beta') - run: exit -1 - - name: Set up Go uses: actions/setup-go@v4