Skip to content

Commit 304d293

Browse files
committed
fix: set up GraalVM with an allowed action
The repository allows only GitHub's own actions, so graalvm/setup-graalvm kept the whole build workflow from starting.
1 parent 77b4d0b commit 304d293

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎.github/workflows/platforms.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,14 @@ jobs:
232232
sudo apt-get update
233233
sudo apt-get install -y libx11-6 libxext6 libxfixes3 libxdamage1 libxtst6 libxrandr2 libxcomposite1 libglib2.0-0 libgbm1 libdrm2
234234
235+
# Through setup-java, as this repository allows only actions of GitHub
236+
# itself: an action it does not allow makes the whole workflow fail to
237+
# start. Its graalvm distribution is Oracle GraalVM, native-image included.
235238
- name: Set up GraalVM
236-
uses: graalvm/setup-graalvm@v1
239+
uses: actions/setup-java@v6
237240
with:
238241
java-version: '25'
239-
distribution: 'graalvm-community'
242+
distribution: 'graalvm'
240243

241244
- name: Set the release dry-run version
242245
if: inputs.version != ''

0 commit comments

Comments
 (0)