Skip to content

Commit

Permalink
- attempting to fix github action;
Browse files Browse the repository at this point in the history
  • Loading branch information
jaltmayerpizzorno committed Apr 21, 2022
1 parent 45af9b6 commit d6f9bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
release:
types: [ published ]
types: [ published, updated ]
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d6f9bbd

Please sign in to comment.