mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Fix sales order shipment / completed buttons (#7305)
* Fix sales order shipment / completed buttons - Template logic needed tweaks * Adjust logic for completing a sales order * Tweak UV version - Trying to get CI to run properly * Pin version * Ignore uv * Cleanup * Fix another --uv command
This commit is contained in:
11
.github/actions/setup/action.yaml
vendored
11
.github/actions/setup/action.yaml
vendored
@ -49,7 +49,8 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
python3 -m pip install -U pip
|
||||
pip3 install invoke wheel uv
|
||||
pip3 install -U invoke wheel
|
||||
pip3 install uv==0.1.45
|
||||
- name: Set the VIRTUAL_ENV variable for uv to work
|
||||
run: echo "VIRTUAL_ENV=${Python_ROOT_DIR}" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
@ -82,14 +83,16 @@ runs:
|
||||
|
||||
# Invoke commands
|
||||
- name: Install dev requirements
|
||||
if: ${{ inputs.dev-install == 'true' ||inputs.install == 'true' }}
|
||||
if: ${{ inputs.dev-install == 'true' || inputs.install == 'true' }}
|
||||
shell: bash
|
||||
run: uv pip install --require-hashes -r src/backend/requirements-dev.txt
|
||||
- name: Run invoke install
|
||||
if: ${{ inputs.install == 'true' }}
|
||||
shell: bash
|
||||
run: invoke install --uv
|
||||
# run: invoke install --uv
|
||||
run: invoke install
|
||||
- name: Run invoke update
|
||||
if: ${{ inputs.update == 'true' }}
|
||||
shell: bash
|
||||
run: invoke update --uv
|
||||
# run: invoke update --uv
|
||||
run: invoke update
|
||||
|
Reference in New Issue
Block a user