Skip to content

Commit dbbefa8

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 da52c02 commit dbbefa8

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
@@ -85,14 +85,19 @@ jobs:
8585
- ubuntu-latest # linux/x64
8686
- ubuntu-24.04-arm # linux/arm64
8787
- macos-latest # darwin/arm64
88-
- macos-13 # darwin/x64
8988
- windows-latest # win32/x64
9089
- windows-11-arm # win32/arm64
9190

9291
steps:
9392
- name: Install @kosli/cli via npm
9493
shell: bash
95-
run: npm install -g @kosli/cli@snapshot
94+
run: |
95+
TAG="${{ github.event.release.tag_name }}"
96+
if [[ "${{ github.event_name }}" == "release" && "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
97+
npm install -g @kosli/cli@latest
98+
else
99+
npm install -g @kosli/cli@snapshot
100+
fi
96101
97102
- name: Verify kosli binary works
98103
shell: bash

0 commit comments

Comments
 (0)