Skip to content

Commit

Permalink
don't use deprecated set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Jan 13, 2024
1 parent 0f536af commit f7d1ed8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
steps:
- name: Set cache key
id: key
run: echo "::set-output name=key::$(date +'%Y-%m-%d')"
run: |
echo "{key}={$(date +'%Y-%m-%d')}" >> $GITHUB_STATE
- uses: actions/checkout@v3

Expand All @@ -36,7 +37,7 @@ jobs:
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.extensions }}
key: ${{ steps.key.outputs.key }}
key: ${{ env.key }}

- name: Cache extensions
uses: actions/cache@v3
Expand Down

0 comments on commit f7d1ed8

Please sign in to comment.