From 9e484887f49fa272616c37db5aaa35caf84441a8 Mon Sep 17 00:00:00 2001 From: David Gidwani Date: Mon, 11 Apr 2022 19:20:14 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=B8=20ci:=20update=20release=20conditi?= =?UTF-8?q?onals=20to=20include=20tagged=20refs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index df5f565..214028c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: prepare_release: runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }} steps: - uses: actions/checkout@v2 with: @@ -89,7 +89,7 @@ jobs: release: runs-on: ubuntu-latest needs: prepare_release - if: github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }} steps: - uses: actions/checkout@v2 with: