diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 8fa29aa..b80efb0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -2,7 +2,7 @@ name: Node.js Package on: release: - types: [created] + types: [ published ] jobs: publish-npm: diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index a43d350..a3c5e42 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -2,7 +2,7 @@ name: Upload Python Package on: release: - types: [ created ] + types: [ published ] jobs: deploy: @@ -14,6 +14,13 @@ jobs: id: changed-files uses: tj-actions/changed-files@v18.7 + - 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: @@ -34,4 +41,4 @@ jobs: cd python python setup.py sdist bdist_wheel pip install twine - twine upload dist/* +# twine upload dist/*