Skip to content

Commit

Permalink
minor #200 [CI] Fix Github Actions deprecations (ogizanagi)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.x-dev branch.

Discussion
----------

[CI] Fix Github Actions deprecations

Relates to:

- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
- https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

Commits
-------

160f6ac [CI] Fix Github Actions deprecations
  • Loading branch information
ogizanagi committed Oct 13, 2022
2 parents b20e8e8 + 160f6ac commit e0bc146
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
php: '8.1'
symfony: '6.0.*@dev'
allow-unstable: true

- name: 'Test Symfony 6.1 [Linux, PHP 8.1]'
os: 'ubuntu-latest'
php: '8.1'
Expand All @@ -94,7 +94,7 @@ jobs:
allow-failure: true
mysql: true
mongodb: true

- name: 'Test next Symfony [Linux, PHP 8.2] (allowed failure)'
os: 'ubuntu-latest'
php: '8.2'
Expand Down Expand Up @@ -145,10 +145,10 @@ jobs:

- name: 'Get composer cache directory'
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: 'Cache dependencies'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-${{ hashFiles('**/composer.json') }}-flags-${{ matrix.composer-flags }}
Expand Down

0 comments on commit e0bc146

Please sign in to comment.