File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11---
22name : API Docs
3+ env :
4+ DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION : main
35on :
46 workflow_dispatch :
57 inputs :
810 required : true
911 type : boolean
1012 default : false
13+ khiops-python-tutorial-revision :
14+ default : main
15+ description : khiops-python-tutorial repo revision
1116 image-tag :
1217 default : 10.7.0-b.0.0
1318 description : Development Docker Image Tag
4449 # https://github.com/actions/runner/issues/2033#issuecomment-1598547465
4550 options : --user 1001
4651 steps :
52+ - name : Set parameters as env
53+ run : |
54+ KHIOPS_PYTHON_TUTORIAL_REVISION=${{ inputs.khiops-python-tutorial-revision || env.DEFAULT_KHIOPS_PYTHON_TUTORIAL_REVISION }}
55+ echo "KHIOPS_PYTHON_TUTORIAL_REVISION=$KHIOPS_PYTHON_TUTORIAL_REVISION" >> "$GITHUB_ENV"
4756 - name : Checkout khiops-python
4857 uses : actions/checkout@v4
4958 with :
5261 uses : actions/checkout@v4
5362 with :
5463 repository : khiopsml/khiops-python-tutorial
64+ ref : ${{ env.KHIOPS_PYTHON_TUTORIAL_REVISION }}
5565 path : doc/khiops-python-tutorial
5666 - name : Add pip scripts directory to path
5767 run : echo PATH="$PATH:/github/home/.local/bin" >> "$GITHUB_ENV"
You can’t perform that action at this time.
0 commit comments