We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4488eac commit 6c01940Copy full SHA for 6c01940
1 file changed
.github/workflows/install-script-tests.yml
@@ -75,14 +75,19 @@ jobs:
75
- ubuntu-latest # linux/x64
76
- ubuntu-24.04-arm # linux/arm64
77
- macos-latest # darwin/arm64
78
- - macos-13 # darwin/x64
79
- windows-latest # win32/x64
80
- windows-11-arm # win32/arm64
81
82
steps:
83
- name: Install @kosli/cli via npm
84
shell: bash
85
- run: npm install -g @kosli/cli@snapshot
+ run: |
+ 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
91
92
- name: Verify kosli binary works
93
0 commit comments