File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CmdStanPy
2-
2+
33on :
44 push :
55 branches :
1414 description : ' Version to test'
1515 required : false
1616 default : ' latest'
17-
17+
1818jobs :
1919 get-cmdstan-version :
2020 # get the latest cmdstan version to use as part of the cache key
@@ -81,11 +81,15 @@ jobs:
8181 - name : Show libraries
8282 run : python -m pip freeze
8383
84+ - name : Get system info
85+ uses : kenchan0130/actions-system-info@v1.0.0
86+ id : system-info
87+
8488 - name : CmdStan installation cacheing
8589 uses : actions/cache@v2
8690 with :
8791 path : ~/.cmdstan
88- key : ${{ runner.os }}-cmdstan-${{ needs.get-cmdstan-version.outputs.version }}-${{ hashFiles('**/install_cmdstan.py') }}
92+ key : ${{ runner.os }}-${{ steps.system-info.outputs.release }}- cmdstan-${{ needs.get-cmdstan-version.outputs.version }}-${{ hashFiles('**/install_cmdstan.py') }}
8993
9094 - name : Install CmdStan (Linux, macOS)
9195 if : matrix.os != 'windows-latest'
You can’t perform that action at this time.
0 commit comments