Skip to content

Commit 4fca339

Browse files
committed
Change github workflow
1 parent ffd50ce commit 4fca339

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
tags:
11-
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
1210
pull_request:
1311
branches:
1412
- main
@@ -61,29 +59,3 @@ jobs:
6159

6260
- name: Coverage
6361
uses: codecov/codecov-action@v3
64-
65-
deploy:
66-
# this will run when you have tagged a commit, starting with "v*"
67-
# and requires that you have put your twine API key in your
68-
# github secrets (see readme for details)
69-
needs: [test]
70-
runs-on: ubuntu-latest
71-
if: contains(github.ref, 'tags')
72-
steps:
73-
- uses: actions/checkout@v4
74-
- name: Set up Python
75-
uses: actions/setup-python@v5
76-
with:
77-
python-version: "3.x"
78-
- name: Install dependencies
79-
run: |
80-
python -m pip install --upgrade pip
81-
pip install -U setuptools setuptools_scm wheel twine build
82-
- name: Build and publish
83-
env:
84-
TWINE_USERNAME: __token__
85-
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
86-
run: |
87-
git tag
88-
python -m build .
89-
twine upload dist/*

0 commit comments

Comments
 (0)