Merge branch 'ab/ci-retire-set-output'

CI fix.

* ab/ci-retire-set-output:
  CI: migrate away from deprecated "set-output" syntax
This commit is contained in:
Junio C Hamano 2022-12-10 14:01:05 +09:00
commit 82444ead4c
2 changed files with 3 additions and 3 deletions

View File

@ -23,8 +23,8 @@ jobs:
base=${{ github.event.before }}
head=${{ github.event.after }}
fi
echo "::set-output name=base::$base"
echo "::set-output name=head::$head"
echo base=$base >>$GITHUB_OUTPUT
echo head=$head >>$GITHUB_OUTPUT
- name: Run partial clone
run: |
git -c init.defaultBranch=master init --bare .

View File

@ -34,7 +34,7 @@ jobs:
then
enabled=no
fi
echo "::set-output name=enabled::$enabled"
echo "enabled=$enabled" >>$GITHUB_OUTPUT
- name: skip if the commit or tree was already tested
id: skip-if-redundant
uses: actions/github-script@v6