diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2960836..e562ff3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,7 +127,7 @@ ], "runs-on" : "ubuntu-latest", "timeout-minutes" : 5, - "if" : "startsWith(github.ref, 'refs/tags/v')", + "if" : "github.ref_type == 'tag' && github.ref != 'refs/tags/latest'", "steps" : [ { "name" : "Download all artifacts", @@ -135,7 +135,7 @@ }, { "name" : "Create release", - "if" : "startsWith(github.ref, 'refs/tags/v')", + "if" : "github.ref_type == 'tag' && github.ref != 'refs/tags/latest'", "uses" : "marvinpinto/action-automatic-releases@latest", "with" : { "repo_token" : "${{ secrets.GITHUB_TOKEN }}",