From 3f839245bd85152658ca3f04fee35897bc84e2b2 Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 23 Jul 2025 17:07:48 +0200 Subject: [PATCH] Update action.yml --- action.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/action.yml b/action.yml index eadfb1c..a9cbd39 100644 --- a/action.yml +++ b/action.yml @@ -45,18 +45,10 @@ runs: LOG_FILE="${OUTPUT_DIR}/pixi.log" mkdir -p "$OUTPUT_DIR" - touch "$LOG_FILE" - # Vérification si le fichier de log existe - echo "📜 Checking if log file exists at $LOG_FILE_ABS..." - if [ ! -f "$LOG_FILE" ]; then - echo "❌ Pixi log file not found! Creating log file..." - else - echo "✅ Log file already exists." - fi - - if: ${{ inputs.enable_pixi_post_link_scripts == 'true' }} + if [ "${{ inputs.enable_pixi_post_link_scripts }}" == "true" ]; then pixi config set --local run-post-link-scripts insecure + fi echo "🔧 Installing Pixi..." >> $LOG_FILE curl -fsSL https://pixi.sh/install.sh | bash >> $LOG_FILE 2>&1 || {