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 || {