We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05922da commit 0890ad8Copy full SHA for 0890ad8
action.yml
@@ -58,7 +58,7 @@ runs:
58
SYNC_FILES="$OUTPUT_DIR/files_to_sync.txt"
59
REMOTE_DIR="$SSH_ROOT_DIR/deployer"
60
SSH_AUTH="-i $TEMP_KEY_FILE -o StrictHostKeyChecking=no"
61
- TAR_NAME="repository_$(openssl rand -hex 4).tar.gz"
+ TAR_NAME="repository_$(openssl rand -hex 4).tar"
62
63
CHECKOUT_DIR=${{ inputs.source_path }}
64
CHECKOUT_DIR="${CHECKOUT_DIR#/}" # Remove leading slash
@@ -175,7 +175,7 @@ runs:
175
BASE_DIR=$(pwd)
176
cd $CHECKOUT_DIR
177
echo "Creating tar file: $TAR_FILE"
178
- tar -czvf "$BASE_DIR/$TAR_FILE" -T "$BASE_DIR/$SYNC_FILES"
+ tar -cvf "$BASE_DIR/$TAR_FILE" -T "$BASE_DIR/$SYNC_FILES"
179
cd $BASE_DIR
180
echo "Tar file created successfully."
181
0 commit comments