Skip to content

Commit

Permalink
updated github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Apr 16, 2022
1 parent 643a8e2 commit ec273a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node.js Package

on:
release:
types: [created]
types: [ published ]

jobs:
publish-npm:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Upload Python Package

on:
release:
types: [ created ]
types: [ published ]

jobs:
deploy:
Expand All @@ -14,6 +14,13 @@ jobs:
id: changed-files
uses: tj-actions/[email protected]

- name: Check folder
id: check-folder
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
echo "$file was changed"
done
- name: Set up Python
uses: actions/setup-python@v1
with:
Expand All @@ -34,4 +41,4 @@ jobs:
cd python
python setup.py sdist bdist_wheel
pip install twine
twine upload dist/*
# twine upload dist/*

0 comments on commit ec273a4

Please sign in to comment.