From f36c28cc70a94ca90550c710d429ff689326d9cf Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Mon, 14 Jun 2021 14:22:29 +0300 Subject: [PATCH] Fix `contains()` flipped commands https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#contains --- .github/workflows/python-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index fe11a694..26dfa28d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -41,4 +41,4 @@ jobs: with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - if: ${{ startsWith(github.ref, 'refs/tags') && contains('.dev', github.ref) }} + if: ${{ startsWith(github.ref, 'refs/tags') && contains(github.ref, '.dev') }}