mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
fix boolean
This commit is contained in:
14
.github/actions/setup/action.yaml
vendored
14
.github/actions/setup/action.yaml
vendored
@ -14,7 +14,7 @@ inputs:
|
|||||||
install:
|
install:
|
||||||
required: false
|
required: false
|
||||||
description: 'Install the InvenTree requirements?'
|
description: 'Install the InvenTree requirements?'
|
||||||
default: 'true'
|
default: 'false'
|
||||||
update:
|
update:
|
||||||
required: false
|
required: false
|
||||||
description: 'Should a full update cycle be run?'
|
description: 'Should a full update cycle be run?'
|
||||||
@ -35,13 +35,13 @@ runs:
|
|||||||
|
|
||||||
# Python installs
|
# Python installs
|
||||||
- name: Set up Python ${{ env.python_version }}
|
- name: Set up Python ${{ env.python_version }}
|
||||||
if: ${{ inputs.python }} == 'true'
|
if: ${{ inputs.python == 'true' }}
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ env.python_version }}
|
python-version: ${{ env.python_version }}
|
||||||
cache: pip
|
cache: pip
|
||||||
- name: Install Base Python Dependencies
|
- name: Install Base Python Dependencies
|
||||||
if: ${{ inputs.python }} == 'true'
|
if: ${{ inputs.python == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -U pip
|
python3 -m pip install -U pip
|
||||||
@ -53,13 +53,13 @@ runs:
|
|||||||
|
|
||||||
# NPM installs
|
# NPM installs
|
||||||
- name: Install node.js ${{ env.node_version }}
|
- name: Install node.js ${{ env.node_version }}
|
||||||
if: ${{ inputs.npm }} == 'true'
|
if: ${{ inputs.npm == 'true' }}
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.node_version }}
|
node-version: ${{ env.node_version }}
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Intall npm packages
|
- name: Intall npm packages
|
||||||
if: ${{ inputs.npm }} == 'true'
|
if: ${{ inputs.npm == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
@ -73,10 +73,10 @@ runs:
|
|||||||
|
|
||||||
# Invoke commands
|
# Invoke commands
|
||||||
- name: Run invoke install
|
- name: Run invoke install
|
||||||
if: ${{ inputs.install }} == 'true'
|
if: ${{ inputs.install == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: invoke install
|
run: invoke install
|
||||||
- name: Run invoke update
|
- name: Run invoke update
|
||||||
if: ${{ inputs.update }} == 'true'
|
if: ${{ inputs.update == 'true' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: invoke update
|
run: invoke update
|
||||||
|
2
.github/workflows/qc_checks.yaml
vendored
2
.github/workflows/qc_checks.yaml
vendored
@ -34,7 +34,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Enviroment Setup
|
- name: Enviroment Setup
|
||||||
uses: matmair/inventree/.github/actions/setup@ci-updates
|
uses: ../actions/setup@master
|
||||||
with:
|
with:
|
||||||
install: true
|
install: true
|
||||||
- name: flake8
|
- name: flake8
|
||||||
|
Reference in New Issue
Block a user