Skip to content

Commit 1fc53d2

Browse files
committed
chore: fix emit-metrics integration with kat
1 parent 76b6034 commit 1fc53d2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/actions/emit-metrics/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ runs:
4242
steps:
4343
- name: Verify kat exists
4444
shell: bash
45-
run: which kat || ( echo "Cannot find kat installation. Did you forget to run setup-kat first?" && exit 1 )
45+
run: kat version || ( echo "Cannot find kat in PATH ($PATH). Did you forget to run setup-kat first?" && exit 1 )
4646
- name: Emit Metrics
4747
shell: bash
4848
run: |

.github/actions/setup-kat/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ runs:
1818
echo "No versions of kat were found"
1919
exit 1
2020
fi
21-
echo "Downloading kat version $kat_version"
21+
echo "Downloading kat version $kat_version to $PWD"
2222
23-
aws s3 cp s3://kotlin-sdk-build-tools/kat-releases/$kat_version/kat-$kat_version.zip ./kat.zip
23+
aws s3 cp s3://kotlin-sdk-build-tools/kat-releases/$kat_version/kat-$kat_version.zip ./kat.zip --no-progress
2424
2525
echo "Unzipping kat tool"
2626
unzip -qq ./kat.zip -d kat
2727
2828
kat_binary_path="$PWD/kat/kat-$kat_version/bin"
29+
echo "Appending \"$kat_binary_path\" to path"
2930
export PATH="$kat_binary_path:$PATH"
3031
echo "$kat_binary_path" >> $GITHUB_PATH
3132

0 commit comments

Comments
 (0)