We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b347903 commit c62761eCopy full SHA for c62761e
1 file changed
.github/workflows/release.yaml
@@ -4,7 +4,6 @@ on:
4
push:
5
tags:
6
- "v*"
7
-
8
jobs:
9
build-n-publish:
10
name: Build and publish Xvec to PyPI
@@ -14,17 +13,18 @@ jobs:
14
13
- uses: actions/checkout@v4
15
16
- name: Set up Python
17
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
18
with:
19
python-version: "3.x"
20
21
- - name: Build a binary wheel and a source tarball
+ - name: Build source and wheel distributions
22
run: |
23
- python -m pip install --upgrade build
+ python -m pip install --upgrade build twine
24
python -m build
+ twine check --strict dist/*
25
26
- name: Publish distribution to PyPI
27
- uses: pypa/gh-action-pypi-publish@v1
+ uses: pypa/gh-action-pypi-publish@release/v1
28
29
user: __token__
30
password: ${{ secrets.pypi_password }}
0 commit comments