Skip to content

Commit a281eeb

Browse files
author
Matevz Morato
committed
Fix the CI release logic
1 parent a0c2d6a commit a281eeb

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/python-main.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,11 @@ jobs:
361361
ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_URL }}
362362
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
363363
ARTIFACTORY_PASS: ${{ secrets.ARTIFACTORY_PASS }}
364+
- name: Upload the combined wheels as an artifact
365+
uses: actions/upload-artifact@v4
366+
with:
367+
name: audited-wheels-combined-macos-${{ matrix.os }}
368+
path: bindings/python/wheelhouse/audited/*
364369

365370
# This job builds wheels for x86_64 arch
366371
build-linux-x86_64:
@@ -456,6 +461,11 @@ jobs:
456461
ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_URL }}
457462
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
458463
ARTIFACTORY_PASS: ${{ secrets.ARTIFACTORY_PASS }}
464+
- name: Upload the combined wheels as an artifact
465+
uses: actions/upload-artifact@v4
466+
with:
467+
name: audited-wheels-combined-linux-x86_64
468+
path: bindings/python/wheelhouse/audited/*
459469

460470
# This job builds wheels for ARM64 arch
461471
build-linux-arm64:
@@ -556,6 +566,11 @@ jobs:
556566
ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_URL }}
557567
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
558568
ARTIFACTORY_PASS: ${{ secrets.ARTIFACTORY_PASS }}
569+
- name: Upload the combined wheels as an artifact
570+
uses: actions/upload-artifact@v4
571+
with:
572+
name: audited-wheels-combined-linux-arm64
573+
path: bindings/python/wheelhouse/audited/*
559574

560575
combine-windows-x86_64-wheels:
561576
needs: build-windows-x86_64
@@ -586,6 +601,11 @@ jobs:
586601
ARTIFACTORY_URL: ${{ secrets.ARTIFACTORY_URL }}
587602
ARTIFACTORY_USER: ${{ secrets.ARTIFACTORY_USER }}
588603
ARTIFACTORY_PASS: ${{ secrets.ARTIFACTORY_PASS }}
604+
- name: Upload the combined wheels as an artifact
605+
uses: actions/upload-artifact@v4
606+
with:
607+
name: audited-wheels-combined-windows-x86_64
608+
path: bindings/python/wheelhouse/audited/*
589609

590610
release:
591611
if: startsWith(github.ref, 'refs/tags/v')
@@ -617,7 +637,7 @@ jobs:
617637
submodules: 'recursive'
618638
- uses: actions/download-artifact@v4
619639
with:
620-
pattern: audited-wheels*
640+
pattern: audited-wheels-combined-*
621641
merge-multiple: true
622642
path: bindings/python/wheelhouse/audited/
623643
- name: List files

0 commit comments

Comments
 (0)