Skip to content

Commit 8eda28d

Browse files
committed
use runner.os
1 parent 1f604f1 commit 8eda28d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

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

0 commit comments

Comments
 (0)