Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve set output deprecation #555

Open
wants to merge 3 commits into
base: 5.0.0
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,21 @@ jobs:
tools: composer:v2
extensions: ${{ env.extensions }}

- name: Setup dependency cache
- name: Setup dependency cache (Linux)
if: matrix.operatingSystem == 'ubuntu-22.04'
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Setup dependency cache (Windows)
if: matrix.operatingSystem == 'windows-latest'
id: composercachewin
run: echo "dir=$(composer config cache-files-dir)" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append

- name: Cache dependencies
uses: actions/cache@v2
id: cache
with:
path: ${{ steps.composercache.outputs.dir }}
path: ${{ steps.composercache.outputs.dir }}${{ steps.composercachewin.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

Expand Down
Loading