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.
2 parents 6e9ae89 + 54d5de1 commit dc9d1efCopy full SHA for dc9d1ef
1 file changed
.github/workflows/main.yml
@@ -13,7 +13,7 @@ on:
13
cmdstan-version:
14
description: 'Version to test'
15
required: false
16
- default: 'latest'
+ default: ''
17
18
jobs:
19
get-cmdstan-version:
@@ -24,7 +24,7 @@ jobs:
24
- name: Get CmdStan version
25
id: check-cmdstan
26
run: |
27
- if [[ "${{ github.event.inputs.cmdstan-version }}" == "latest" ]]; then
+ if [[ "${{ github.event.inputs.cmdstan-version }}" != "" ]]; then
28
echo "::set-output name=version::${{ github.event.inputs.cmdstan-version }}"
29
else
30
echo "::set-output name=version::$(python -c 'import requests;print(requests.get("https://api.github.com/repos/stan-dev/cmdstan/releases/latest").json()["tag_name"][1:])')"
0 commit comments