From 55abf9c047d0a4a6b07b9318fec99297801871ba Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Wed, 3 Jun 2020 17:49:53 +0200 Subject: [PATCH] Replace `github.ref` -> `github.event.ref` README Resolves #31 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ffab4f5..29be6d2 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ filter to the step: ```yml - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') ``` So the full step would look like: @@ -38,7 +38,7 @@ So the full step would look like: ```yml - name: Publish package - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@master with: user: __token__