diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d03fd69..2e5da41 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -53,7 +53,7 @@ jobs: run: | docker run -v $(pwd):/src quay.io/pypa/manylinux2014_x86_64 /src/python-wheel-build.sh - name: Publish package - if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' && github.event.type == 'published' + if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' && github.event.action == 'published' uses: pypa/gh-action-pypi-publish@master with: