Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ runs:

# Generate OCI config using the pre-built binary
# Write the env input to a temporary file to safely handle quotes and newlines
cat > "$SANDBOX_DIR/additional_env.txt" << SANDBOXED_ENV_EOF
$INPUTS_ENV
SANDBOXED_ENV_EOF
printenv INPUTS_ENV > "$SANDBOX_DIR/additional_env.txt"
# Only pass the file if it's not empty
if [ -s "$SANDBOX_DIR/additional_env.txt" ]; then
"$GITHUB_ACTION_PATH/generate-config" "$SANDBOX_DIR/additional_env.txt" > "$SANDBOX_DIR/config.json"
Expand Down
Loading