Update github output syntax for deprecation (#7692)

This commit is contained in:
Alex Gaynor 2022-10-11 15:04:37 -04:00 committed by GitHub
parent 6578d86ec5
commit dabe96395a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ runs:
steps:
- run: |
COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())")
echo "::set-output name=COVERAGE_UUID::${COVERAGE_UUID}"
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> $GITHUB_OUTPUT
if [ -f .coverage ]; then
mv .coverage .coverage.${COVERAGE_UUID}
fi

View file

@ -18,10 +18,10 @@ jobs:
run: |
SHA=$(git ls-remote https://boringssl.googlesource.com/boringssl refs/heads/master | cut -f1)
if ! grep -q "$SHA" .github/workflows/ci.yml; then
echo "::set-output name=BORING_SHA::$SHA"
echo "BORING_SHA=${SHA}" >> $GITHUB_OUTPUT
fi
LAST_COMMIT=$(grep boringssl .github/workflows/ci.yml | grep TYPE | grep -oE '[a-z0-9]{40}')
echo "::set-output name=LAST_COMMIT::$LAST_COMMIT"
echo "LAST_COMMIT=${LAST_COMMIT}" >> $GITHUB_OUTPUT
- name: Update boring
run: |
set -xe