Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mizaki authored Sep 21, 2024
1 parent 39e9646 commit 11cda4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
run: |
python -m pip install --upgrade --upgrade-strategy eager -r requirements-dev.txt
- name: "Publish distribution 📦 to PyPI"
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1

- name: Build and install wheel
run: |
tox run -m build
python -m pip install dist/*.whl -t build
cd build
zip -x "*/__pycache__/*" -r ../dist/${{ github.event.repository.name }}-plugin-${{ github.ref_name }}.zip *
- name: "Publish distribution 📦 to PyPI"
if: startsWith(github.ref, 'refs/tags/')
uses: pypa/gh-action-pypi-publish@release/v1

- name: Get release name
if: startsWith(github.ref, 'refs/tags/')
shell: bash
Expand Down

0 comments on commit 11cda4f

Please sign in to comment.