Skip to content

Commit 6c01940

Browse files
committed
Removed macos-13. macos-13 is the only GitHub-hosted x64 macOS runner but it's not available in all GitHub org configuration
1 parent 4488eac commit 6c01940

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/install-script-tests.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,19 @@ jobs:
7575
- ubuntu-latest # linux/x64
7676
- ubuntu-24.04-arm # linux/arm64
7777
- macos-latest # darwin/arm64
78-
- macos-13 # darwin/x64
7978
- windows-latest # win32/x64
8079
- windows-11-arm # win32/arm64
8180

8281
steps:
8382
- name: Install @kosli/cli via npm
8483
shell: bash
85-
run: npm install -g @kosli/cli@snapshot
84+
run: |
85+
TAG="${{ github.event.release.tag_name }}"
86+
if [[ "${{ github.event_name }}" == "release" && "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
87+
npm install -g @kosli/cli@latest
88+
else
89+
npm install -g @kosli/cli@snapshot
90+
fi
8691
8792
- name: Verify kosli binary works
8893
shell: bash

0 commit comments

Comments
 (0)