File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
actions/deploy-quarto-static-site Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -56,25 +56,27 @@ runs:
5656 # ## Install Python dependencies (to run any python for generating quarto content)
5757 # Note: assumes using `uv` for dependency management
5858 - name : Install uv
59- if : ${{ inputs.uses-python }}
59+ if : ${{ inputs.uses-python == 'true' }}
6060 uses : astral-sh/setup-uv@v5
6161 with :
6262 enable-cache : true
6363 version : " 0.6.x"
6464
6565 - name : Setup Python
66+ if : ${{ inputs.uses-python == 'true' }}
6667 uses : actions/setup-python@v5 # Use official because GH caches it
6768 with :
6869 python-version-file : " pyproject.toml"
6970
7071 - name : Install dependencies and activate virtual environment
72+ if : ${{ inputs.uses-python == 'true' }}
7173 shell : bash
7274 run : uv sync
7375
7476 # ## Install R dependencies (to run any R for generating quarto content)
7577 # Note: This is untested (I don't use R, so don't know if this is correct)
7678 - name : Setup R
77- if : ${{ inputs.uses-r }}
79+ if : ${{ inputs.uses-r == 'true' }}
7880 uses : r-lib/actions/setup-r@v2
7981 # ###########
8082
You can’t perform that action at this time.
0 commit comments