diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 977188b8..4891dd6d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v2 - name: Read .nvmrc - run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" + run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT id: nvm - name: Use Node.js ${{ steps.nvm.outputs.NVMRC }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4d081b34..4a0d019c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v2 - name: Read .nvmrc - run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" + run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT id: nvm - name: Use Node.js ${{ steps.nvm.outputs.NVMRC }}