Skip to content

Commit 4fbaabc

Browse files
committed
Use simple, but long way
1 parent 8767d1c commit 4fbaabc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,8 @@ runs:
4646
shell: bash
4747
run: |
4848
if [[ "${{ steps.mapping.outputs.codee_archive_extension }}" == "zip" ]]; then
49-
TOP_DIR=$(unzip -qql "${RUNNER_TEMP}/codee.zip" | head -n1 | awk '{print $4}' | cut -d/ -f1)
5049
unzip -qq ${RUNNER_TEMP}/codee.zip -d ${RUNNER_TEMP}/codee-tmp
51-
mv ${RUNNER_TEMP}/codee-tmp/${TOP_DIR}/ ${RUNNER_TEMP}/codee/
50+
mv ${RUNNER_TEMP}/codee-tmp/codee-2025.3.5-${{ steps.mapping.outputs.codee_archive }}/ ${RUNNER_TEMP}/codee/
5251
rm -rf ${RUNNER_TEMP}/codee-tmp
5352
else
5453
mkdir -p ${RUNNER_TEMP}/codee/

0 commit comments

Comments
 (0)