Skip to content

Commit a664f0b

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 a664f0b

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
uses: actions/upload-artifact@v6
4848
with:
4949
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
50-
path: wheelhouse/softfloatpy-*.whl
50+
path: |
51+
wheelhouse/softfloatpy-*.whl
52+
dist/softfloatpy-*.tar.gz
5153
retention-days: 1
5254

5355
dist-on-macos:
@@ -186,7 +188,7 @@ jobs:
186188
- name: Sign distribution with Sigstore
187189
uses: sigstore/[email protected]
188190
with:
189-
inputs: ./dist/*.whl
191+
inputs: dist/
190192

191193
- name: Upload artifact signatures to GitHub Release
192194
env:

.github/workflows/testpypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
uses: actions/upload-artifact@v6
4848
with:
4949
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
50-
path: wheelhouse/softfloatpy-*.whl
50+
path: |
51+
wheelhouse/softfloatpy-*.whl
52+
dist/softfloatpy-*.tar.gz
5153
retention-days: 1
5254

5355
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)