Update action.yml

This commit is contained in:
2025-07-23 17:07:48 +02:00
parent 698eb017fe
commit 3f839245bd
+2 -10
View File
@@ -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 || {