diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 4596d1e..3139bfd 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -19,9 +19,6 @@ jobs: - name: 🔄 Checkout code uses: actions/checkout@v3 - - name: CHeck tar varsion - run: tar --version - - name: 🔢 Calculate cache IDs run: | # Calculate cache IDs for Git LFS and PNPM @@ -50,6 +47,11 @@ jobs: path: node_modules/.astro key: ${{ runner.os }}-astro-v1 + - name: print modifify time of the first file under node_modules/.astro without using find + run: | + ls -lt node_modules/.astro/assets | grep "^-" | head -n 1 | awk '{print $6, $7, $8}' + + - name: 🔄 Pull Git LFS files run: git lfs pull @@ -66,6 +68,7 @@ jobs: user: ${{ secrets.FTP_USERNAME }} pass: ${{ secrets.FTP_PASSWORD }} onlyNewer: true + restoreMTime: false parallel: '4' settings: 'sftp:auto-confirm=yes' localDir: 'dist'