diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index c34ce9a7a59..2308632ee69 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -21,7 +21,7 @@ jobs: contents: write pull-requests: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # This is to guarantee that the most recent tag is fetched. # This can be configured to a more reasonable value by consumers. @@ -31,8 +31,8 @@ jobs: ref: ${{ github.event.inputs.base-branch }} - name: Get Node.js version id: nvm - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - uses: actions/setup-node@v2 + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT + - uses: actions/setup-node@v3 with: node-version: ${{ steps.nvm.outputs.NODE_VERSION }} - uses: MetaMask/action-create-release-pr@v1 diff --git a/.github/workflows/lint-build-test.yml b/.github/workflows/lint-build-test.yml index 272914fe8d1..ac28fc25ed4 100644 --- a/.github/workflows/lint-build-test.yml +++ b/.github/workflows/lint-build-test.yml @@ -13,19 +13,19 @@ jobs: matrix: node-version: [14.x, 16.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Get Yarn cache directory - run: echo "::set-output name=YARN_CACHE_DIR::$(yarn config get cacheFolder)" + run: echo "YARN_CACHE_DIR=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT id: yarn-cache-dir - name: Get Yarn version - run: echo "::set-output name=YARN_VERSION::$(yarn --version)" + run: echo "YARN_VERSION=$(yarn --version)" >> $GITHUB_OUTPUT id: yarn-version - name: Cache yarn dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.yarn-cache-dir.outputs.YARN_CACHE_DIR }} key: yarn-cache-${{ runner.os }}-${{ steps.yarn-version.outputs.YARN_VERSION }}-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 65d0e085684..7bc0f4b66b7 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -22,14 +22,14 @@ jobs: runs-on: ubuntu-latest needs: is-release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - name: Get Node.js version id: nvm - run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) + run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_OUTPUT - name: Setup Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: ${{ steps.nvm.outputs.NODE_VERSION }} - uses: MetaMask/action-publish-release@v2.0.0 @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest needs: publish-release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - uses: actions/cache@v3 @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest needs: publish-npm-dry-run steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.sha }} - uses: actions/cache@v3