Update action.yml
This commit is contained in:
+2
-10
@@ -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 || {
|
||||
|
||||
Reference in New Issue
Block a user