diff --git a/action.yml b/action.yml index 762d98a..5a48075 100644 --- a/action.yml +++ b/action.yml @@ -79,19 +79,19 @@ runs: git clone -q https://gitea.psi.ch/tligui_y/test-ci.git ./temp-ci - echo "📥 Starting custom checkout..." > $LOG + echo "📥 Starting custom checkout..." > $LOG_FILE # Init repo git init . >> $LOG 2>&1 - git remote add origin ${{ github.server_url }}/${{ github.repository }} >> $LOG 2>&1 + git remote add origin ${{ github.server_url }}/${{ github.repository }} >> $LOG_FILE 2>&1 # Fetch uniquement le commit courant - git fetch --depth=1 origin ${{ github.sha }} >> $LOG 2>&1 + git fetch --depth=1 origin ${{ github.sha }} >> $LOG_FILE 2>&1 # Checkout le commit - git checkout FETCH_HEAD >> $LOG 2>&1 + git checkout FETCH_HEAD >> $LOG_FILE 2>&1 - echo "✅ Checkout complete" >> $LOG + echo "✅ Checkout complete" >> $LOG_FILE - name: Install optional apt packages if: inputs.apt_packages != ''