mirror of
https://github.com/actions/setup-python.git
synced 2024-11-21 14:40:58 -05:00
add fix for graalpy ci (#741)
This commit is contained in:
parent
8635b1ccc5
commit
a00ea43da6
1 changed files with 3 additions and 3 deletions
6
.github/workflows/test-graalpy.yml
vendored
6
.github/workflows/test-graalpy.yml
vendored
|
@ -92,6 +92,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- name: Setup GraalPy and check latest
|
||||
uses: ./
|
||||
id: graalpy
|
||||
with:
|
||||
python-version: 'graalpy-23.x'
|
||||
check-latest: true
|
||||
|
@ -109,8 +110,7 @@ jobs:
|
|||
|
||||
- name: Assert expected binaries (or symlinks) are present
|
||||
run: |
|
||||
EXECUTABLE="graalpy-23.0"
|
||||
EXECUTABLE=${EXECUTABLE/-/} # remove the first '-' in "graalpy-X.Y" -> "graalpyX.Y" to match executable name
|
||||
EXECUTABLE=${EXECUTABLE%%-*} # remove any -* suffixe
|
||||
EXECUTABLE='${{ steps.graalpy.outputs.python-version }}'
|
||||
EXECUTABLE="${EXECUTABLE%.*}"
|
||||
${EXECUTABLE} --version
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue