Skip to content

Commit b167b2b

Browse files
Clear cache and install through pip (#38)
Pip uses an outdated value from the cache. This is an attempt to make it realise a new version exists. A delay may need to be added to allow the published library to propagate through pypi.
1 parent e1fc5f7 commit b167b2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/install/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ runs:
8989
if: steps.install.outcome == 'failure'
9090
shell: bash
9191
run: |
92-
python -m pip install "${{ github.action_path }}"/../../../dist/amulet_leveldb-*.whl
92+
cache_dir=$(python -m pip cache dir)
93+
rm -rf "$cache_dir"/http*
94+
python -m pip install --only-binary amulet-leveldb amulet-compiler-version${{ inputs.compiler-specifier }} pybind11${{ inputs.pybind11-specifier }} amulet-pybind11-extensions${{ inputs.pybind11-extensions-specifier }} amulet-leveldb${{ inputs.leveldb-specifier }}
9395
9496
- name: Get __version__
9597
id: get-version

0 commit comments

Comments
 (0)