From 4d5f03db8a8f80fdd8587ebc20759f072ea27472 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 19 Jun 2020 04:26:37 +0530 Subject: [PATCH] Remove dashes from step ids --- .github/workflows/workflow.yml | 8 ++++---- README.md | 16 ++++++++-------- examples/bedrock.yml | 4 ++-- examples/cakephp-mysql.yml | 12 ++++++------ examples/cakephp-postgres.yml | 12 ++++++------ examples/cakephp.yml | 12 ++++++------ examples/codeigniter.yml | 4 ++-- examples/laravel-mysql.yml | 4 ++-- examples/laravel-postgres.yml | 4 ++-- examples/laravel.yml | 4 ++-- examples/lumen-mysql.yml | 4 ++-- examples/lumen-postgres.yml | 4 ++-- examples/lumen.yml | 4 ++-- examples/phalcon-mysql.yml | 4 ++-- examples/phalcon-postgres.yml | 4 ++-- examples/sage.yml | 4 ++-- examples/slim-framework.yml | 4 ++-- examples/symfony-mysql.yml | 4 ++-- examples/symfony-postgres.yml | 4 ++-- examples/symfony.yml | 4 ++-- examples/yii2-mysql.yml | 4 ++-- examples/yii2-postgres.yml | 4 ++-- examples/zend-framework.yml | 4 ++-- 23 files changed, 66 insertions(+), 66 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ba51afe6a..aa72f54bf 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -33,7 +33,7 @@ jobs: uses: actions/checkout@v2 - name: Setup cache environment - id: cache-env + id: extcache uses: shivammathur/cache-extensions@develop with: php-version: ${{ matrix.php-versions }} @@ -43,9 +43,9 @@ jobs: - name: Cache extensions uses: actions/cache@v2 with: - path: ${{ steps.cache-env.outputs.dir }} - key: ${{ steps.cache-env.outputs.key }} - restore-keys: ${{ steps.cache-env.outputs.key }} + path: ${{ steps.extcache.outputs.dir }} + key: ${{ steps.extcache.outputs.key }} + restore-keys: ${{ steps.extcache.outputs.key }} - name: Setup PHP with extensions and custom config run: node dist/index.js diff --git a/README.md b/README.md index 88c2463a5..b2bde7851 100644 --- a/README.md +++ b/README.md @@ -470,7 +470,7 @@ steps: uses: actions/checkout@v2 - name: Setup cache environment - id: cache-env + id: extcache uses: shivammathur/cache-extensions@v1 with: php-version: ${{ matrix.php-versions }} @@ -480,9 +480,9 @@ steps: - name: Cache extensions uses: actions/cache@v2 with: - path: ${{ steps.cache-env.outputs.dir }} - key: ${{ steps.cache-env.outputs.key }} - restore-keys: ${{ steps.cache-env.outputs.key }} + path: ${{ steps.extcache.outputs.dir }} + key: ${{ steps.extcache.outputs.key }} + restore-keys: ${{ steps.extcache.outputs.key }} - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -499,13 +499,13 @@ If your project uses composer, you can persist composer's internal cache directo ```yaml - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- @@ -527,13 +527,13 @@ If your project has node.js dependencies, you can persist npm's or yarn's cache ```yaml - name: Get node.js cache directory - id: node-cache-dir + id: nodecache run: echo "::set-output name=dir::$(npm config get cache)" # Use $(yarn cache dir) for yarn - name: Cache dependencies uses: actions/cache@v2 with: - path: ${{ steps.node-cache-dir.outputs.dir }} + path: ${{ steps.nodecache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} # Use '**/yarn.lock' for yarn restore-keys: ${{ runner.os }}-node- ``` diff --git a/examples/bedrock.yml b/examples/bedrock.yml index 9a6d5b23c..a4fc930c0 100644 --- a/examples/bedrock.yml +++ b/examples/bedrock.yml @@ -17,11 +17,11 @@ jobs: with: php-version: ${{ matrix.php-versions }} - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/cakephp-mysql.yml b/examples/cakephp-mysql.yml index 6272ae404..8b2c986aa 100644 --- a/examples/cakephp-mysql.yml +++ b/examples/cakephp-mysql.yml @@ -37,12 +37,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -70,12 +70,12 @@ jobs: php-version: '7.3' extensions: mbstring, intl - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -98,12 +98,12 @@ jobs: extensions: mbstring, intl tools: phpstan - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/cakephp-postgres.yml b/examples/cakephp-postgres.yml index 578317704..f31c408a2 100644 --- a/examples/cakephp-postgres.yml +++ b/examples/cakephp-postgres.yml @@ -35,12 +35,12 @@ jobs: extensions: mbstring, intl, redis, pdo_pgsql coverage: pcov - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -68,12 +68,12 @@ jobs: php-version: '7.3' extensions: mbstring, intl - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -96,12 +96,12 @@ jobs: extensions: mbstring, intl tools: phpstan - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/cakephp.yml b/examples/cakephp.yml index 044fd82c2..168c57c01 100644 --- a/examples/cakephp.yml +++ b/examples/cakephp.yml @@ -19,12 +19,12 @@ jobs: extensions: mbstring, intl, pdo_sqlite, pdo_mysql coverage: pcov #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -48,12 +48,12 @@ jobs: php-version: '7.3' extensions: mbstring, intl - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -76,12 +76,12 @@ jobs: extensions: mbstring, intl tools: phpstan - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/codeigniter.yml b/examples/codeigniter.yml index 9fa2efd9f..2a7a02f3a 100644 --- a/examples/codeigniter.yml +++ b/examples/codeigniter.yml @@ -18,12 +18,12 @@ jobs: extensions: mbstring, intl, curl, dom coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/laravel-mysql.yml b/examples/laravel-mysql.yml index 8e9ad6452..a8b296633 100644 --- a/examples/laravel-mysql.yml +++ b/examples/laravel-mysql.yml @@ -44,12 +44,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/laravel-postgres.yml b/examples/laravel-postgres.yml index aaf8b3e22..af77064d3 100644 --- a/examples/laravel-postgres.yml +++ b/examples/laravel-postgres.yml @@ -44,12 +44,12 @@ jobs: extensions: mbstring, dom, fileinfo, pgsql coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/laravel.yml b/examples/laravel.yml index 5498c88c3..8b41f2f78 100644 --- a/examples/laravel.yml +++ b/examples/laravel.yml @@ -20,12 +20,12 @@ jobs: extensions: mbstring, dom, fileinfo coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/lumen-mysql.yml b/examples/lumen-mysql.yml index ecf27230e..393a35e9c 100644 --- a/examples/lumen-mysql.yml +++ b/examples/lumen-mysql.yml @@ -44,12 +44,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/lumen-postgres.yml b/examples/lumen-postgres.yml index a68cbe98f..6795d7ab9 100644 --- a/examples/lumen-postgres.yml +++ b/examples/lumen-postgres.yml @@ -44,12 +44,12 @@ jobs: extensions: mbstring, dom, fileinfo, pgsql coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/lumen.yml b/examples/lumen.yml index b905cbd3d..33cddc2c9 100644 --- a/examples/lumen.yml +++ b/examples/lumen.yml @@ -20,12 +20,12 @@ jobs: extensions: mbstring, dom, fileinfo, mysql coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/phalcon-mysql.yml b/examples/phalcon-mysql.yml index 10fd1c9cd..945312a8d 100644 --- a/examples/phalcon-mysql.yml +++ b/examples/phalcon-mysql.yml @@ -44,12 +44,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/phalcon-postgres.yml b/examples/phalcon-postgres.yml index ee2b6ed60..02d93b35b 100644 --- a/examples/phalcon-postgres.yml +++ b/examples/phalcon-postgres.yml @@ -43,12 +43,12 @@ jobs: extensions: mbstring, dom, zip, phalcon4, pgsql #use phalcon3 for the phalcon 3.x coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/sage.yml b/examples/sage.yml index f664c6fc8..eff35f94b 100644 --- a/examples/sage.yml +++ b/examples/sage.yml @@ -33,12 +33,12 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: ${{ runner.os }}-yarn- - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/slim-framework.yml b/examples/slim-framework.yml index 5263cf58a..66065f33c 100644 --- a/examples/slim-framework.yml +++ b/examples/slim-framework.yml @@ -18,12 +18,12 @@ jobs: extensions: mbstring, simplexml, dom coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/symfony-mysql.yml b/examples/symfony-mysql.yml index a694f2111..ae636323b 100644 --- a/examples/symfony-mysql.yml +++ b/examples/symfony-mysql.yml @@ -31,12 +31,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/symfony-postgres.yml b/examples/symfony-postgres.yml index 7297e25e6..56f68de2d 100644 --- a/examples/symfony-postgres.yml +++ b/examples/symfony-postgres.yml @@ -29,12 +29,12 @@ jobs: extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite, pgsql coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/symfony.yml b/examples/symfony.yml index 8e3bef1d3..049c0734d 100644 --- a/examples/symfony.yml +++ b/examples/symfony.yml @@ -20,12 +20,12 @@ jobs: extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/yii2-mysql.yml b/examples/yii2-mysql.yml index 6dab880da..204b0c138 100644 --- a/examples/yii2-mysql.yml +++ b/examples/yii2-mysql.yml @@ -41,12 +41,12 @@ jobs: - name: Start mysql service run: sudo /etc/init.d/mysql start - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/yii2-postgres.yml b/examples/yii2-postgres.yml index 4e854e06e..358090d2d 100644 --- a/examples/yii2-postgres.yml +++ b/examples/yii2-postgres.yml @@ -39,12 +39,12 @@ jobs: extensions: mbstring, intl, gd, imagick, zip, dom, pgsql coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/examples/zend-framework.yml b/examples/zend-framework.yml index 960e23037..fc324570d 100644 --- a/examples/zend-framework.yml +++ b/examples/zend-framework.yml @@ -18,12 +18,12 @@ jobs: extensions: mbstring, bcmath, curl, intl coverage: xdebug #optional - name: Get composer cache directory - id: composer-cache + id: composercache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies uses: actions/cache@v2 with: - path: ${{ steps.composer-cache.outputs.dir }} + path: ${{ steps.composercache.outputs.dir }} # Use composer.json for key, if composer.lock is not committed. # key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}