From 20aa3609d7be69e44024ff9e1f8230c6b9389ea0 Mon Sep 17 00:00:00 2001 From: Razvan Mahu <67904187+razvan-pro@users.noreply.github.com> Date: Tue, 15 Feb 2022 14:56:38 +0000 Subject: [PATCH] fix: try different events (#1300) * fix: publish this time * Merge branch 'master' into trim-ci-flow * fix: try different events * Merge branch 'master' into trim-ci-flow --- .github/workflows/ci.yml | 8 +++++--- .github/workflows/publish-python-package.yml | 4 +++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17a8d3bef..6a770d983 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,10 @@ name: CI on: - push: - branches: - - master + # push: + # branches: + # - master + release: + types: [published] pull_request: jobs: tests: diff --git a/.github/workflows/publish-python-package.yml b/.github/workflows/publish-python-package.yml index 34c909eee..96f246d0c 100644 --- a/.github/workflows/publish-python-package.yml +++ b/.github/workflows/publish-python-package.yml @@ -3,6 +3,8 @@ on: push: branches: - master + tags-ignore: + - v* # workflow_run: # workflows: ["CI"] # branches: [master] @@ -11,7 +13,7 @@ on: jobs: publish-pypi-packages: name: Publish PyPi Packages - if: ${{ github.event.pusher.name != 'actions-user' }} + # if: ${{ github.event.pusher.name != 'actions-user' }} # if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-18.04 steps: