Skip to content

Commit e69c157

Browse files
committed
Modify GitHub workflows
The sdist package will be also included in future releases. The artifact retention period is set with one day.
1 parent 99bbf4e commit e69c157

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.github/workflows/document.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
uses: actions/upload-pages-artifact@v3
5050
with:
5151
path: ./python/docs/build/html
52+
retention-days: 1
5253

5354
doc-deploy:
5455
name: Deploy documentation

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ jobs:
4242
run: |
4343
python -m build
4444
auditwheel repair dist/softfloatpy-*.whl
45+
mv dist/softfloatpy-*.tar.gz wheelhouse/.
4546
4647
- name: Store built wheel
4748
uses: actions/upload-artifact@v6
4849
with:
4950
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
50-
path: wheelhouse/softfloatpy-*.whl
51+
path: |
52+
wheelhouse/softfloatpy-*.whl
53+
wheelhouse/softfloatpy-*.tar.gz
5154
retention-days: 1
5255

5356
dist-on-macos:
@@ -186,7 +189,7 @@ jobs:
186189
- name: Sign distribution with Sigstore
187190
uses: sigstore/[email protected]
188191
with:
189-
inputs: ./dist/*.whl
192+
inputs: dist/
190193

191194
- name: Upload artifact signatures to GitHub Release
192195
env:

.github/workflows/testpypi.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ jobs:
4242
run: |
4343
python -m build
4444
auditwheel repair dist/softfloatpy-*.whl
45+
mv dist/softfloatpy-*.tar.gz wheelhouse/.
4546
4647
- name: Store built wheel
4748
uses: actions/upload-artifact@v6
4849
with:
4950
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
50-
path: wheelhouse/softfloatpy-*.whl
51+
path: |
52+
wheelhouse/softfloatpy-*.whl
53+
wheelhouse/softfloatpy-*.tar.gz
5154
retention-days: 1
5255

5356
dist-on-macos:

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ words:
5353
- recip
5454
- RISCV
5555
- rshift
56+
- sdist
5657
- setuptools
5758
- sigstore
5859
- softfloat

0 commit comments

Comments
 (0)