Skip to content

Commit 0890ad8

Browse files
create .tar file instead if tar.gz
1 parent 05922da commit 0890ad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ runs:
5858
SYNC_FILES="$OUTPUT_DIR/files_to_sync.txt"
5959
REMOTE_DIR="$SSH_ROOT_DIR/deployer"
6060
SSH_AUTH="-i $TEMP_KEY_FILE -o StrictHostKeyChecking=no"
61-
TAR_NAME="repository_$(openssl rand -hex 4).tar.gz"
61+
TAR_NAME="repository_$(openssl rand -hex 4).tar"
6262
6363
CHECKOUT_DIR=${{ inputs.source_path }}
6464
CHECKOUT_DIR="${CHECKOUT_DIR#/}" # Remove leading slash
@@ -175,7 +175,7 @@ runs:
175175
BASE_DIR=$(pwd)
176176
cd $CHECKOUT_DIR
177177
echo "Creating tar file: $TAR_FILE"
178-
tar -czvf "$BASE_DIR/$TAR_FILE" -T "$BASE_DIR/$SYNC_FILES"
178+
tar -cvf "$BASE_DIR/$TAR_FILE" -T "$BASE_DIR/$SYNC_FILES"
179179
cd $BASE_DIR
180180
echo "Tar file created successfully."
181181

0 commit comments

Comments
 (0)