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 3bde2db commit e04e217Copy full SHA for e04e217
1 file changed
.github/workflows/main.yml
@@ -25,9 +25,9 @@ jobs:
25
id: check-cmdstan
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
- else [[ "${{ github.event.inputs.cmdstan-version }}" != "latest" ]]; then
30
echo "::set-output name=version::${{ github.event.inputs.cmdstan-version }}"
+ else
+ 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:])')"
31
fi
32
outputs:
33
version: ${{ steps.check-cmdstan.outputs.version }}
0 commit comments