Skip to content

Commit

Permalink
add fix for graalpy ci (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov authored Oct 16, 2023
1 parent 8635b1c commit a00ea43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-graalpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a00ea43

Please sign in to comment.