Skip to content

Commit a952cd3

Browse files
authored
chore: fix emit-metrics integration with kat (#71)
1 parent 76b6034 commit a952cd3

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- name: Checkout sources
2121
uses: actions/checkout@v2
22-
- uses: actions/cache@v2
22+
- uses: actions/cache@v4
2323
with:
2424
path: |
2525
~/.gradle/caches
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- name: Checkout sources
4040
uses: actions/checkout@v2
41-
- uses: actions/cache@v2
41+
- uses: actions/cache@v4
4242
with:
4343
path: |
4444
~/.gradle/caches
@@ -61,4 +61,4 @@ jobs:
6161
uses: ./.github/actions/configure-gradle
6262
- name: Build and Test ${{ env.PACKAGE_NAME }}
6363
run: |
64-
./gradlew build
64+
./gradlew build

0 commit comments

Comments
 (0)