diff --git a/.github/workflows/antora.yml b/.github/workflows/antora.yml index efcdcad..700ee16 100644 --- a/.github/workflows/antora.yml +++ b/.github/workflows/antora.yml @@ -43,7 +43,7 @@ jobs: - name: Get npm cache directory id: npm-cache-dir run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT - uses: actions/cache@v3 id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' with: diff --git a/.github/workflows/cmd.yml b/.github/workflows/cmd.yml index 5b00cd9..ed6ff17 100644 --- a/.github/workflows/cmd.yml +++ b/.github/workflows/cmd.yml @@ -72,7 +72,7 @@ jobs: matrix+="\"exclude\":$(echo -n '${{ inputs.exclude }}')" matrix+="}" echo $matrix - echo ::set-output name=matrix::$(echo $matrix) + echo "matrix=$matrix" >> $GITHUB_OUTPUT cmd: name: ${{ toJSON(matrix) }} if: ${{ github.event.repository.fork == false || github.event_name != 'schedule' || (github.event_name == 'schedule' && github.event.repository.fork == true && inputs.run-scheduled-in-forks == true) }}