Skip to content

Commit a00ea43

Browse files
add fix for graalpy ci (#741)
1 parent 8635b1c commit a00ea43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-graalpy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
- uses: actions/checkout@v3
9393
- name: Setup GraalPy and check latest
9494
uses: ./
95+
id: graalpy
9596
with:
9697
python-version: 'graalpy-23.x'
9798
check-latest: true
@@ -109,8 +110,7 @@ jobs:
109110

110111
- name: Assert expected binaries (or symlinks) are present
111112
run: |
112-
EXECUTABLE="graalpy-23.0"
113-
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "graalpy-X.Y" -> "graalpyX.Y" to match executable name
114-
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
113+
EXECUTABLE='${{ steps.graalpy.outputs.python-version }}'
114+
EXECUTABLE="${EXECUTABLE%.*}"
115115
${EXECUTABLE} --version
116116
shell: bash

0 commit comments

Comments
 (0)