Skip to content

Commit b0f7f3c

Browse files
committed
fix(workflows): streamline architecture handling in build and release jobs
Signed-off-by: Adilhusain Shaikh <[email protected]>
1 parent fa91117 commit b0f7f3c

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,14 @@ jobs:
5151
needs: get-latest-tag
5252
strategy:
5353
matrix:
54+
arch: ['ppc64le', 's390x']
5455
platform-version: ['24.04', '22.04']
55-
include:
56-
- arch: ppc64le
57-
runner-label: ubuntu-24.04-ppc64le
58-
- arch: s390x
59-
runner-label: ubuntu-24.04-s390x
6056
uses: ./.github/workflows/reusable-build-and-release-python-versions.yml
6157
with:
6258
arch: ${{ matrix.arch }}
6359
tag: ${{ needs.get-latest-tag.outputs.latest_tag }}
6460
platform-version: ${{ matrix.platform-version }}
65-
runner-label: ${{ matrix.runner-label }}
61+
runner-label: ${{ format('ubuntu-24.04-{0}', matrix.arch) }}
6662

6763
release-asset:
6864
needs: [build-and-release-matrix, get-latest-tag]

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,12 @@ jobs:
7373
tag: ${{ fromJson(needs.get-tags.outputs.tags_json) }}
7474
platform-version: ['24.04', '22.04']
7575
arch: ['s390x', 'ppc64le']
76-
include:
77-
- arch: s390x
78-
runner-label: ubuntu-24.04-s390x
79-
- arch: ppc64le
80-
runner-label: ubuntu-24.04-ppc64le
8176
uses: ./.github/workflows/reusable-build-and-release-python-versions.yml
8277
with:
8378
arch: ${{ matrix.arch }}
8479
tag: ${{ matrix.tag }}
8580
platform-version: ${{ matrix['platform-version'] }}
86-
runner-label: ${{ matrix['runner-label'] }}
81+
runner-label: ${{ format('ubuntu-24.04-{0}', matrix.arch) }}
8782

8883

8984
release-assets:

0 commit comments

Comments
 (0)