From 14788edf785eb22c355d89315f7429780ad0be38 Mon Sep 17 00:00:00 2001 From: Matthew Coleman Date: Sun, 25 Feb 2024 13:12:11 -0500 Subject: [PATCH] Fix tag indicator in CI --- .github/workflows/actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index b7780d3..34a144a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,7 +18,7 @@ jobs: go test pkg/* release-test: - if: ${{ !startsWith(github.ref_name, 'refs/tags') }} # Only run on non-tags. + if: ${{ !startsWith(github.ref, 'refs/tags') }} # Only run on non-tags. needs: - test runs-on: ubuntu-latest @@ -43,7 +43,7 @@ jobs: . release: - if: ${{ startsWith(github.ref_name, 'refs/tags') }} # Only run on tags. + if: ${{ startsWith(github.ref, 'refs/tags') }} # Only run on tags. needs: - test runs-on: ubuntu-latest