Skip to content

Commit 9010630

Browse files
committed
test runner os
1 parent 92f3e9b commit 9010630

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ runs:
66
using: composite
77
steps:
88
- name: Install AWS CLI (ubuntu)
9-
if: matrix.os == 'ubuntu-latest'
9+
if: runner.os == 'Linux'
1010
shell: bash
1111
run: |
1212
sudo snap install aws-cli --classic
1313
1414
- name: Install AWS CLI (macOS)
15-
if: matrix.os == 'macos-latest'
15+
if: runner.os == 'macOS'
1616
shell: bash
1717
run: |
1818
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
1919
sudo installer -pkg AWSCLIV2.pkg -target /
2020
2121
- name: Install AWS CLI (Windows)
22-
if: matrix.os == 'windows-latest'
22+
if: runner.os == 'Windows'
2323
shell: powershell
2424
run: |
2525
Invoke-WebRequest -Uri "https://awscli.amazonaws.com/AWSCLIV2.msi" -OutFile "AWSCLIV2.msi"

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ jobs:
3131
java-version: 17
3232
cache: 'gradle'
3333

34+
- name: Configure AWS Credentials
35+
uses: aws-actions/configure-aws-credentials@v4
36+
with:
37+
role-to-assume: arn:aws:iam::934480575838:role/aws-sdk-kotlin-pr-github-oidc-role
38+
aws-region: us-west-2
39+
- name: Setup Kat
40+
uses: ./.github/actions/setup-kat
41+
3442
- uses: actions/cache@v4
3543
with:
3644
path: |

0 commit comments

Comments
 (0)