From 882846da7b63f17a25dcf0cd6d01a8843d1054a6 Mon Sep 17 00:00:00 2001 From: WillB97 Date: Sun, 23 Jun 2024 16:09:33 +0100 Subject: [PATCH] Attempt to remove extension --- .github/workflows/check.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d64e5ee..e3a0c9b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -93,12 +93,11 @@ jobs: run: | poe release # Log the release name for later use - echo "RELEASE_NAME=$(ls dist/)" - echo "RELEASE_NAME=$(ls dist/)" >> "$GITHUB_OUTPUT" + RELEASE_NAME=$(ls dist/)" + echo "${RELEASE_NAME##*.}" >> "$GITHUB_OUTPUT" # Extract the release the release to avoid the double zip unzip dist/*.zip -d dist/ rm dist/sbot-simulator*.zip - ls dist/ # TODO unzip release to avoid the double zip, but - name: Save built release uses: actions/upload-artifact@v4