Update action.yml

This commit is contained in:
2025-08-25 18:20:09 +02:00
parent 9e879a7ad1
commit 08338cfdb3
+4 -16
View File
@@ -70,22 +70,10 @@ inputs:
runs:
using: "composite"
steps:
- name: Silent Checkout
run: |
LOG=checkout.log
echo "📥 Starting custom checkout..." > $LOG
# Init repo
git init . >> $LOG 2>&1
git remote add origin ${{ github.server_url }}/${{ github.repository }} >> $LOG 2>&1
# Fetch uniquement le commit courant
git fetch --depth=1 origin ${{ github.sha }} >> $LOG 2>&1
# Checkout le commit
git checkout FETCH_HEAD >> $LOG 2>&1
echo "✅ Checkout complete" >> $LOG
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install optional apt packages
if: inputs.apt_packages != ''