Skip to content

Commit

Permalink
restored publish.yml to previous state
Browse files Browse the repository at this point in the history
  • Loading branch information
DjoykeAbyah committed Nov 11, 2024
1 parent aaeddb5 commit 2fd988b
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/pypipublish.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Publish Python

# on:
# release:
# types: [published]

on:
push:
tags:
- 'v*' # Only triggers on tags starting with 'v', like 'v1.0.0'
release:
types: [published]

jobs:
tests:
Expand Down Expand Up @@ -39,11 +34,11 @@ jobs:
--wheel
--outdir dist/
.
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_TEST_KEY }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TEST_KEY }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 2fd988b

Please sign in to comment.