Skip to content

Commit

Permalink
Update using GITHUB_OUTPUT environment (#512)
Browse files Browse the repository at this point in the history
* Update using `GITHUB_OUTPUT` environment

* (fixup) missing the redirect to GITHUB_OUTPUT
  • Loading branch information
tnasu authored Nov 30, 2022
1 parent 2815b82 commit 63ec829
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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

0 comments on commit 63ec829

Please sign in to comment.