Skip to content

Commit

Permalink
[ci] use function args instead of globals in check_versions.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-gilligan committed Feb 13, 2024
1 parent e2f1a6d commit a8539dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/check_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function assert-match {
VER_B="$2"
SUCCESS_MSG="$3"
FAILURE_MSG="$4"
if [[ "$ver_zerocopy" == "$ver_zerocopy_derive" ]]; then
if [[ "$VER_A" == "$VER_B" ]]; then
echo "$SUCCESS_MSG" | tee -a $GITHUB_STEP_SUMMARY
else
echo "$FAILURE_MSG" | tee -a $GITHUB_STEP_SUMMARY >&2
Expand Down

0 comments on commit a8539dc

Please sign in to comment.