From 9ff3f6d3f29ee967a35e0ff0c2410db74c6421ac Mon Sep 17 00:00:00 2001 From: Onur Ozgur OZKAN Date: Mon, 24 Jun 2024 09:38:48 +0000 Subject: [PATCH] Improve ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77b2f05..e9f0447 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - main - 'v*' tags: - - '*' + - ['[0-9].[0-9]+.[0-9]+'] jobs: mix_test: @@ -52,6 +52,7 @@ jobs: - run: mix test publish: runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') steps: - name: Check out uses: actions/checkout@v3