We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce638a5 commit 16484fbCopy full SHA for 16484fb
1 file changed
.github/workflows/publish-pypi.yml
@@ -7,8 +7,6 @@ on:
7
concurrency:
8
group: publish-pypi-{{ github.sha }}
9
cancel-in-progress: false
10
-env:
11
- SETUPTOOLS_SCM_LOCAL_SCHEME: no-local-version
12
13
jobs:
14
build-packages:
@@ -34,6 +32,8 @@ jobs:
34
32
shell: bash
35
33
36
- name: Build package
+ env:
+ SETUPTOOLS_SCM_LOCAL_SCHEME: no-local-version
37
run: |
38
python -m pip install --upgrade pip wheel setuptools setuptools_scm build twine
39
python -m build --sdist --wheel . --outdir dist
@@ -152,6 +152,10 @@ jobs:
152
with:
153
fetch-depth: 0
154
155
+ - name: Get tags
156
+ run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
157
+ shell: bash
158
+
159
- uses: actions/setup-python@v6
160
161
python-version: "3.12"
0 commit comments