File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 99 extra_requirements :
1010 description : " Install extra dependencies"
1111 required : false
12- cache :
13- description : ' Cache python setup, set to "true" to enable'
14- required : false
15- default : " false"
1612
1713branding :
1814 icon : " anchor"
@@ -21,6 +17,7 @@ branding:
2117runs :
2218 using : " composite"
2319 steps :
20+ - uses : actions/setup-python@v6
2421 - id : set-vars
2522 shell : python
2623 env :
3633 else:
3734 set_commitizen_version = f"=={commitizen_version}"
3835
39- # Set python cache
40- cache = os.environ.get("CACHE", "")
41- if cache == True or cache == "true":
42- set_cache = "pip"
43- else:
44- set_cache = ""
45-
4636 # Write outputs
4737 with open(os.environ["GITHUB_OUTPUT"], "a") as fh:
4838 fh.write(f"COMMITIZEN_VERSION={set_commitizen_version}\n")
49- fh.write(f"PYTHON_CACHE={set_cache}\n")
50- - uses : actions/setup-python@v6
51- with :
52- cache : ${{ steps.set-vars.outputs.PYTHON_CACHE }}
5339 - name : Install commitizen
5440 shell : bash
5541 env :
You can’t perform that action at this time.
0 commit comments