File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -134,11 +134,20 @@ jobs:
134134 uses : actions/setup-python@v4
135135 with :
136136 python-version : ' 3.10'
137+ - name : Get pip cache dir
138+ id : pip-cache
139+ run : |
140+ python -m pip install --upgrade pip setuptools
141+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
142+ - name : pip cache
143+ uses : actions/cache@v3
144+ with :
145+ path : ${{ steps.pip-cache.outputs.dir }}
146+ key : ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
137147 - name : Install dependencies
138148 run : |
139149 python -m pip install --upgrade pip setuptools wheel twine
140150 pip install -e ".[build]" --progress-bar off --upgrade
141- pip uninstall keras-tuner
142151 - name : Build a binary wheel and a source tarball
143152 run : >-
144153 python pip_build.py
You can’t perform that action at this time.
0 commit comments