diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3652a9a..333746f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,8 @@ jobs: - name: Get the Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" + run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT + shell: bash - uses: actions/cache@v3 with: @@ -66,7 +67,8 @@ jobs: - name: Get the Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" + run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT + shell: bash - uses: actions/cache@v3 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f2e9155..974863e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,8 @@ jobs: - name: Get the Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" + run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT + shell: bash - uses: actions/cache@v3 with: diff --git a/.github/workflows/update-nock-files.yml b/.github/workflows/update-nock-files.yml index 8cac534..22c1a55 100644 --- a/.github/workflows/update-nock-files.yml +++ b/.github/workflows/update-nock-files.yml @@ -29,7 +29,8 @@ jobs: - name: Get the Yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)" + run: echo "dir=$(corepack yarn config get cacheFolder)" >> $GITHUB_OUTPUT + shell: bash - uses: actions/cache@v3 with: @@ -50,7 +51,8 @@ jobs: - name: Check if anything has changed id: contains-changes - run: echo "::set-output name=result::$(git --no-pager diff --quiet -- tests/nock || echo "yes")" + run: echo "result=$(git --no-pager diff --quiet -- tests/nock || echo "yes")" >> $GITHUB_OUTPUT + shell: bash - name: Commit changes if: ${{ steps.contains-changes.outputs.result == 'yes' }}