mirror of
https://github.com/inventree/InvenTree.git
synced 2026-02-02 19:34:52 +00:00
remove cache exception
This commit is contained in:
29
.github/actions/setup/action.yaml
vendored
29
.github/actions/setup/action.yaml
vendored
@@ -41,17 +41,16 @@ runs:
|
|||||||
|
|
||||||
# Python installs
|
# Python installs
|
||||||
- name: Set up Python ${{ env.python_version }}
|
- name: Set up Python ${{ env.python_version }}
|
||||||
# do not cache 3.14 as it causes issues with cffi
|
|
||||||
if: ${{ inputs.python == 'true' && env.python_version != '3.14' }}
|
if: ${{ inputs.python == 'true' && env.python_version != '3.14' }}
|
||||||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
# cache: pip
|
cache: pip
|
||||||
# cache-dependency-path: |
|
cache-dependency-path: |
|
||||||
# src/backend/requirements.txt
|
src/backend/requirements.txt
|
||||||
# src/backend/requirements-dev.txt
|
src/backend/requirements-dev.txt
|
||||||
# contrib/container/requirements.txt
|
contrib/container/requirements.txt
|
||||||
# contrib/dev_reqs/requirements.txt
|
contrib/dev_reqs/requirements.txt
|
||||||
- name: Setup Python 3.14
|
- name: Setup Python 3.14
|
||||||
if: ${{ inputs.python == 'true' && env.python_version == '3.14' }}
|
if: ${{ inputs.python == 'true' && env.python_version == '3.14' }}
|
||||||
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # pin@v5.0.0
|
||||||
@@ -100,14 +99,14 @@ runs:
|
|||||||
if: ${{ inputs.install == 'true' }}
|
if: ${{ inputs.install == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: invoke install --uv
|
run: invoke install --uv
|
||||||
- name: Fix cffi issues
|
# - name: Fix cffi issues
|
||||||
# only needed for python 3.14
|
# # only needed for python 3.14
|
||||||
if: ${{ env.python_version == '3.14' }}
|
# if: ${{ env.python_version == '3.14' }}
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
pip uninstall cffi -y
|
# pip uninstall cffi -y
|
||||||
sudo apt remove --purge -y python3-cffi
|
# sudo apt remove --purge -y python3-cffi
|
||||||
pip install --no-cache-dir --force-reinstall --ignore-installed cffi
|
# pip install --no-cache-dir --force-reinstall --ignore-installed cffi
|
||||||
- name: Run invoke update
|
- name: Run invoke update
|
||||||
if: ${{ inputs.update == 'true' }}
|
if: ${{ inputs.update == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user