diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index d06d56b..d528e1f 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -93,8 +93,7 @@ jobs:
       run: |
         poe release
         # Log the release name for later use
-        RELEASE_NAME="$(ls dist/)" echo "${RELEASE_NAME##*.}"
-        RELEASE_NAME="$(ls dist/)" echo "${RELEASE_NAME##*.}" >> "$GITHUB_OUTPUT"
+        echo "$(ls dist/)"| sed 's/\.zip//' > "$GITHUB_OUTPUT"
         # Extract the release the release to avoid the double zip
         unzip dist/*.zip -d dist/
         rm dist/sbot-simulator*.zip