diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c2594b8..9e28aa0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 with: path: ${{ steps.npm-cache.outputs.dir }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9080803..a61c7d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 with: path: ${{ steps.npm-cache.outputs.dir }} @@ -44,7 +44,7 @@ jobs: - name: Get npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 with: path: ${{ steps.npm-cache.outputs.dir }}