Skip to content

Commit 8cf5083

Browse files
committed
fix(workflows): update runner-label format and increase max-parallel for faster builds
Signed-off-by: Adilhusain Shaikh <[email protected]>
1 parent f63fc23 commit 8cf5083

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release-latest-python-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
arch: ${{ matrix.arch }}
6060
tag: ${{ needs.get-latest-tag.outputs.latest_tag }}
6161
platform-version: ${{ matrix.platform-version }}
62-
runner-label: ${{ format('ubuntu-24.04-{0}', matrix.arch) }}
62+
runner-label: ${{ format('ubuntu-{0}-{1}', matrix['platform-version'], matrix.arch) }}
6363

6464
release-asset:
6565
needs: [build-and-release-matrix, get-latest-tag]

.github/workflows/release-matching-python-tags.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
needs: get-tags
6969
strategy:
7070
fail-fast: false # Allow other builds to continue even if a sibling fails
71-
max-parallel: 6 # Throttle concurrency to avoid DoS-ing runners/registries
71+
max-parallel: 12 # Increased parallelism for faster throughput
7272
matrix:
7373
tag: ${{ fromJson(needs.get-tags.outputs.tags_json) }}
7474
platform-version: ['24.04', '22.04']
@@ -78,7 +78,7 @@ jobs:
7878
arch: ${{ matrix.arch }}
7979
tag: ${{ matrix.tag }}
8080
platform-version: ${{ matrix['platform-version'] }}
81-
runner-label: ${{ format('ubuntu-24.04-{0}', matrix.arch) }}
81+
runner-label: ${{ format('ubuntu-{0}-{1}', matrix['platform-version'], matrix.arch) }}
8282

8383

8484
release-assets:

0 commit comments

Comments
 (0)