Skip to content

Commit

Permalink
Stop using deprecated set-output in GitHub Action workflows (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Nov 4, 2024
1 parent b39bfeb commit af56e01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/ci-shared-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
shell: bash
run: |
VERSION=$(cargo metadata --format-version=1 --locked | jq '.packages[] | select(.name == "wasmtime") | .version' -r)
echo "::set-output name=wasmtime_version::$VERSION"
echo "wasmtime_version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Install wasmtime-cli
shell: bash
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Smoke test to build fuzz targets.
# Deserves its own action given that it depends on nightly
# and there's currently no way to define multiple toolchains through the
# and there's currently no way to define multiple toolchains through the
# `rust-toolchain.toml` configuration file.
name: Build Fuzz Targets
on:
Expand All @@ -20,14 +20,14 @@ jobs:
shell: bash
run: |
NIGHTLY_VERSION=$(cat pinned-nightly-version)
echo "::set-output name=nightly_version::$NIGHTLY_VERSION"
echo "nightly_version=$NIGHTLY_VERSION" >> "$GITHUB_OUTPUT"
- name: Read cargo fuzz version
id: cargo_fuzz_version
shell: bash
run: |
CARGO_FUZZ_VERSION=$(cat pinned-cargo-fuzz-version)
echo "::set-output name=cargo_fuzz_version::$CARGO_FUZZ_VERSION"
echo "cargo_fuzz_version=$CARGO_FUZZ_VERSION" >> "$GITHUB_OUTPUT"
- name: Install nightly
run: |
Expand Down

0 comments on commit af56e01

Please sign in to comment.