Skip to content

Commit a031cdb

Browse files
committed
Fix artifact conflict in GitHub workflows
1 parent 5c22d53 commit a031cdb

File tree

3 files changed

+28
-8
lines changed

3 files changed

+28
-8
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,22 @@ jobs:
4242
run: |
4343
python -m build
4444
auditwheel repair dist/softfloatpy-*.whl
45-
mv dist/softfloatpy-*.tar.gz wheelhouse/.
4645
4746
- name: Store built wheel
4847
uses: actions/upload-artifact@v6
4948
with:
5049
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5150
path: |
5251
wheelhouse/softfloatpy-*.whl
53-
wheelhouse/softfloatpy-*.tar.gz
52+
retention-days: 1
53+
54+
- name: Store built source tarball
55+
uses: actions/upload-artifact@v6
56+
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-24.04' }} # representative
57+
with:
58+
name: python-source-package
59+
path: |
60+
dist/softfloatpy-*.tar.gz
5461
retention-days: 1
5562

5663
dist-on-macos:
@@ -157,7 +164,9 @@ jobs:
157164
- name: Download distribution
158165
uses: actions/download-artifact@v7
159166
with:
160-
pattern: python-*-package-for-*
167+
pattern: |
168+
python-*-package-for-*
169+
python-source-package
161170
path: dist/
162171
merge-multiple: true
163172

@@ -182,7 +191,9 @@ jobs:
182191
- name: Download distribution
183192
uses: actions/download-artifact@v7
184193
with:
185-
pattern: python-*-package-for-*
194+
pattern: |
195+
python-*-package-for-*
196+
python-source-package
186197
path: dist/
187198
merge-multiple: true
188199

.github/workflows/testpypi.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,22 @@ jobs:
4242
run: |
4343
python -m build
4444
auditwheel repair dist/softfloatpy-*.whl
45-
mv dist/softfloatpy-*.tar.gz wheelhouse/.
4645
4746
- name: Store built wheel
4847
uses: actions/upload-artifact@v6
4948
with:
5049
name: python-${{ matrix.python-version }}-package-for-${{ matrix.os }}
5150
path: |
5251
wheelhouse/softfloatpy-*.whl
53-
wheelhouse/softfloatpy-*.tar.gz
52+
retention-days: 1
53+
54+
- name: Store built source tarball
55+
uses: actions/upload-artifact@v6
56+
if: ${{ matrix.python-version == '3.11' && matrix.os == 'ubuntu-24.04' }} # representative
57+
with:
58+
name: python-source-package
59+
path: |
60+
dist/softfloatpy-*.tar.gz
5461
retention-days: 1
5562

5663
dist-on-macos:
@@ -157,7 +164,9 @@ jobs:
157164
- name: Download distribution
158165
uses: actions/download-artifact@v7
159166
with:
160-
pattern: python-*-package-for-*
167+
pattern: |
168+
python-*-package-for-*
169+
python-source-package
161170
path: dist/
162171
merge-multiple: true
163172

python/src/softfloatpy/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
__version__ = '1.2.3'
23+
__version__ = '1.2.3.post0'

0 commit comments

Comments
 (0)