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 381126c commit 3bde2dbCopy full SHA for 3bde2db
1 file changed
.github/workflows/main.yml
@@ -26,8 +26,7 @@ jobs:
26
run: |
27
if [[ "${{ github.event.inputs.cmdstan-version }}" == "latest" ]]; then
28
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:])')"
29
- fi
30
- if [[ "${{ github.event.inputs.cmdstan-version }}" != "latest" ]]; then
+ else [[ "${{ github.event.inputs.cmdstan-version }}" != "latest" ]]; then
31
echo "::set-output name=version::${{ github.event.inputs.cmdstan-version }}"
32
fi
33
outputs:
0 commit comments