diff --git a/.github/workflows/experimental-workflow.yml b/.github/workflows/experimental-workflow.yml index f5024b89..77525c53 100644 --- a/.github/workflows/experimental-workflow.yml +++ b/.github/workflows/experimental-workflow.yml @@ -65,7 +65,7 @@ jobs: key: ${{ env.key }} - name: Cache extensions - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.cache-env.outputs.dir }} key: ${{ steps.cache-env.outputs.key }} diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d5af78a8..73b7f90a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -63,7 +63,7 @@ jobs: key: ${{ env.key }} - name: Cache extensions - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.cache-env.outputs.dir }} key: ${{ steps.cache-env.outputs.key }} diff --git a/README.md b/README.md index 06819f47..3630176e 100644 --- a/README.md +++ b/README.md @@ -454,7 +454,7 @@ steps: key: ${{ env.key }} - name: Cache extensions - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.cache-env.outputs.dir }} key: ${{ steps.cache-env.outputs.key }} @@ -479,7 +479,7 @@ If your project uses composer, you can persist composer's internal cache directo run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -507,7 +507,7 @@ If your project has node.js dependencies, you can persist npm's or yarn's cache run: echo "::set-output name=dir::$(npm config get cache)" # Use $(yarn cache dir) for yarn - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.node-cache-dir.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} # Use '**/yarn.lock' for yarn diff --git a/examples/bedrock.yml b/examples/bedrock.yml index 9d79b781..9a6d5b23 100644 --- a/examples/bedrock.yml +++ b/examples/bedrock.yml @@ -19,7 +19,7 @@ jobs: - name: Get composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - uses: actions/cache@v1 + - uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/cakephp-mysql.yml b/examples/cakephp-mysql.yml index 0de09cd0..6272ae40 100644 --- a/examples/cakephp-mysql.yml +++ b/examples/cakephp-mysql.yml @@ -40,7 +40,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -73,7 +73,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -101,7 +101,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/cakephp-postgres.yml b/examples/cakephp-postgres.yml index 21aeaa8a..57831770 100644 --- a/examples/cakephp-postgres.yml +++ b/examples/cakephp-postgres.yml @@ -38,7 +38,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -71,7 +71,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -99,7 +99,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/cakephp.yml b/examples/cakephp.yml index 65e011b8..044fd82c 100644 --- a/examples/cakephp.yml +++ b/examples/cakephp.yml @@ -22,7 +22,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -51,7 +51,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. @@ -79,7 +79,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/codeigniter.yml b/examples/codeigniter.yml index 3d3bb03d..9fa2efd9 100644 --- a/examples/codeigniter.yml +++ b/examples/codeigniter.yml @@ -21,7 +21,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/laravel-mysql.yml b/examples/laravel-mysql.yml index af9c7031..8e9ad645 100644 --- a/examples/laravel-mysql.yml +++ b/examples/laravel-mysql.yml @@ -47,7 +47,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/laravel-postgres.yml b/examples/laravel-postgres.yml index e0b00391..aaf8b3e2 100644 --- a/examples/laravel-postgres.yml +++ b/examples/laravel-postgres.yml @@ -47,7 +47,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/laravel.yml b/examples/laravel.yml index 68480c3f..5498c88c 100644 --- a/examples/laravel.yml +++ b/examples/laravel.yml @@ -23,7 +23,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/lumen-mysql.yml b/examples/lumen-mysql.yml index 2c46c32b..ecf27230 100644 --- a/examples/lumen-mysql.yml +++ b/examples/lumen-mysql.yml @@ -47,7 +47,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/lumen-postgres.yml b/examples/lumen-postgres.yml index 609cecd5..a68cbe98 100644 --- a/examples/lumen-postgres.yml +++ b/examples/lumen-postgres.yml @@ -47,7 +47,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/lumen.yml b/examples/lumen.yml index 6c3f7b17..b905cbd3 100644 --- a/examples/lumen.yml +++ b/examples/lumen.yml @@ -23,7 +23,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/phalcon-mysql.yml b/examples/phalcon-mysql.yml index 0e6f8abe..10fd1c9c 100644 --- a/examples/phalcon-mysql.yml +++ b/examples/phalcon-mysql.yml @@ -47,7 +47,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/phalcon-postgres.yml b/examples/phalcon-postgres.yml index 321502d8..ee2b6ed6 100644 --- a/examples/phalcon-postgres.yml +++ b/examples/phalcon-postgres.yml @@ -46,7 +46,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/sage.yml b/examples/sage.yml index 3863b3a7..f664c6fc 100644 --- a/examples/sage.yml +++ b/examples/sage.yml @@ -27,7 +27,7 @@ jobs: - name: Get yarn cache id: yarn-cache run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v1 + - uses: actions/cache@v2 with: path: ${{ steps.yarn-cache.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -36,7 +36,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/slim-framework.yml b/examples/slim-framework.yml index 329ed8b0..5263cf58 100644 --- a/examples/slim-framework.yml +++ b/examples/slim-framework.yml @@ -21,7 +21,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/symfony-mysql.yml b/examples/symfony-mysql.yml index 56966a82..a694f211 100644 --- a/examples/symfony-mysql.yml +++ b/examples/symfony-mysql.yml @@ -34,7 +34,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/symfony-postgres.yml b/examples/symfony-postgres.yml index e3638ea2..7297e25e 100644 --- a/examples/symfony-postgres.yml +++ b/examples/symfony-postgres.yml @@ -32,7 +32,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/symfony.yml b/examples/symfony.yml index 6c9a0d70..8e3bef1d 100644 --- a/examples/symfony.yml +++ b/examples/symfony.yml @@ -23,7 +23,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/yii2-mysql.yml b/examples/yii2-mysql.yml index e01b5c52..6dab880d 100644 --- a/examples/yii2-mysql.yml +++ b/examples/yii2-mysql.yml @@ -44,7 +44,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/yii2-postgres.yml b/examples/yii2-postgres.yml index b3465faf..4e854e06 100644 --- a/examples/yii2-postgres.yml +++ b/examples/yii2-postgres.yml @@ -42,7 +42,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. diff --git a/examples/zend-framework.yml b/examples/zend-framework.yml index 3a4921b6..960e2303 100644 --- a/examples/zend-framework.yml +++ b/examples/zend-framework.yml @@ -21,7 +21,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed.