From 08338cfdb3df80d42fc1ede49c55a073a5394cda Mon Sep 17 00:00:00 2001 From: tligui_y Date: Mon, 25 Aug 2025 18:20:09 +0200 Subject: [PATCH] Update action.yml --- action.yml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/action.yml b/action.yml index 122bcaf..59be0bc 100644 --- a/action.yml +++ b/action.yml @@ -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 != ''