diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 0ac69b3a1..7e02437a3 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -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 @@ -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