Skip to content

Commit 198bbd2

Browse files
committed
List the release's native runners alone, as ci.yml does
The platform names in release.yml's matrix only named the jobs and their artifacts: the binaries are named, and their Maven classifiers read, from what Gradle builds, and the deploy jobs collect every native-image-* artifact. The runner label names both now.
1 parent a31c67b commit 198bbd2

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
# One job per platform, as in ci.yml, but here each one hands its binary to the deploy job below
123123
# instead of throwing it away. macOS on Apple silicon is built here only: ci.yml leaves it out.
124124
native-images:
125-
name: native image (${{ matrix.platform }})
125+
name: native image (${{ matrix.runner }})
126126
runs-on: ${{ matrix.runner }}
127127
timeout-minutes: 90
128128
# bash on Windows too, as in ci.yml.
@@ -133,17 +133,12 @@ jobs:
133133
fail-fast: false
134134
matrix:
135135
# The newest images, as in ci.yml.
136-
include:
137-
- platform: linux-x86-64
138-
runner: ubuntu-latest
139-
- platform: linux-aarch64
140-
runner: ubuntu-26.04-arm
141-
- platform: macos-aarch64
142-
runner: macos-latest
143-
- platform: macos-x86-64
144-
runner: macos-26-intel
145-
- platform: windows-x86-64
146-
runner: windows-latest
136+
runner:
137+
- ubuntu-latest
138+
- ubuntu-26.04-arm
139+
- macos-latest
140+
- macos-26-intel
141+
- windows-latest
147142

148143
steps:
149144
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -174,7 +169,7 @@ jobs:
174169
- name: Hand the binary to the deploy job
175170
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
176171
with:
177-
name: native-image-${{ matrix.platform }}
172+
name: native-image-${{ matrix.runner }}
178173
path: |
179174
open-java-format-native/build/native/nativeCompile/open-java-format-*
180175
!open-java-format-native/build/native/nativeCompile/*.txt

0 commit comments

Comments
 (0)