From a00ea43da65e7c04d2bdae58b3afecd77057eb9e Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 16 Oct 2023 11:57:32 +0200 Subject: [PATCH] add fix for graalpy ci (#741) --- .github/workflows/test-graalpy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index c1800108..c5ec1f8b 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -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