From ceed1005ccb5174f46e7000d6d00066332c59f4c Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 7 Jan 2024 03:01:09 +0800 Subject: [PATCH] remove unused download-cache workflow --- .github/workflows/download-cache.yml | 40 ---------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/download-cache.yml diff --git a/.github/workflows/download-cache.yml b/.github/workflows/download-cache.yml deleted file mode 100644 index 1d0a5f52..00000000 --- a/.github/workflows/download-cache.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: archive download sources weekly - -on: - workflow_dispatch: - schedule: - - cron: "* 14 * * 5" - -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - -jobs: - download: - name: cache download sources - runs-on: ubuntu-latest - strategy: - matrix: - php-version: [ "8.0", "8.1", "8.2", "8.3" ] - steps: - - uses: actions/checkout@v3 - - # Cache composer dependencies - - id: cache-composer-deps - uses: actions/cache@v3 - with: - path: vendor - key: composer-dependencies - - # If there's no Composer cache, install dependencies - - if: steps.cache-composer-deps.outputs.cache-hit != 'true' - run: composer update --no-dev - - # If there's no dependencies cache, fetch sources, with or without debug - - if: steps.cache-download.outputs.cache-hit != 'true' - run: ./bin/spc download --with-php=${{ matrix.php-version }} --all --debug - - # Upload downloaded files - - uses: actions/upload-artifact@v3 - with: - name: download-files-${{ matrix.php-version }} - path: downloads/