From d6f9bbd0074aee592139f2c43d35dec7bf296eab Mon Sep 17 00:00:00 2001 From: Juan Altmayer Pizzorno Date: Thu, 21 Apr 2022 15:11:34 -0400 Subject: [PATCH] - attempting to fix github action; --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f91b203..c331202 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: release on: release: - types: [ published ] + types: [ published, updated ] workflow_dispatch: jobs: @@ -37,13 +37,13 @@ jobs: name: devN - name: make dev build and send to testpypi if not a release (non-Windows version) - if: github.event.type != 'ReleaseEvent' && matrix.os != 'windows-latest' + if: github.event_name != 'release' && matrix.os != 'windows-latest' run: | echo "DEV_BUILD=$(cat devN.txt)" >> $GITHUB_ENV # for setup.py echo "TWINE_REPOSITORY=testpypi" >> $GITHUB_ENV - name: make dev build and send to testpypi if not a release (Windows version) - if: github.event.type != 'ReleaseEvent' && matrix.os == 'windows-latest' + if: github.event_name != 'release' && matrix.os == 'windows-latest' run: | ("DEV_BUILD=" + (get-content devN.txt)) >> $env:GITHUB_ENV # for setup.py "TWINE_REPOSITORY=testpypi" >> $env:GITHUB_ENV