Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update using GITHUB_OUTPUT environment #512

Merged
merged 2 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION%.*}"
fi
echo ::set-output name=tags::${TAGS}
echo "{tags}={${TAGS}}" >> $GITHUB_OUTPUT

# - name: Set up QEMU
# uses: docker/setup-qemu-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
VARIANT=$(TZ=UTC-9 date '+%Y%m')${HASH_GHE:0:7}
NAME_TAR="${VARIANT}.tar"
CACHE_FILE=${{ env.CACHE_DIR }}"/${NAME_TAR}"
echo "::set-output name=CACHE_FILE::${CACHE_FILE}"
echo "{CACHE_FILE}={${CACHE_FILE}}" >> $GITHUB_OUTPUT
if: "env.GIT_DIFF != ''"

- name: Get Docker Image File from cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Set crashers count
working-directory: test/fuzz
run: echo "::set-output name=count::$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')"
run: echo "{count}={$(find . -type d -name 'crashers' | xargs -I % sh -c 'ls % | wc -l' | awk '{total += $1} END {print total}')}" >> $GITHUB_OUTPUT
id: set-crashers-count

outputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
if [[ $VERSION =~ ^v[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
TAGS="$TAGS,${DOCKER_IMAGE}:${VERSION%.*}"
fi
echo ::set-output name=tags::${TAGS}
echo "{tags}={${TAGS}}" >> $GITHUB_OUTPUT

# - name: Set up Docker Buildx
# uses: docker/[email protected]
Expand Down