mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
add bash statements
This commit is contained in:
13
.github/actions/setup/action.yaml
vendored
13
.github/actions/setup/action.yaml
vendored
@ -42,13 +42,14 @@ runs:
|
|||||||
cache: ${{ runner.os }}-pip
|
cache: ${{ runner.os }}-pip
|
||||||
- name: Install Base Python Dependencies
|
- name: Install Base Python Dependencies
|
||||||
if: ${{ inputs.python }} == true
|
if: ${{ inputs.python }} == true
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -U pip
|
python3 -m pip install -U pip
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
- name: Install Specific Python Dependencies
|
- name: Install Specific Python Dependencies
|
||||||
if: ${{ inputs.pip-dependency }}
|
if: ${{ inputs.pip-dependency }}
|
||||||
run: |
|
shell: bash
|
||||||
pip3 install ${{ inputs.pip-dependency }}
|
run: pip3 install ${{ inputs.pip-dependency }}
|
||||||
|
|
||||||
# NPM installs
|
# NPM installs
|
||||||
- name: Install node.js ${{ env.node_version }}
|
- name: Install node.js ${{ env.node_version }}
|
||||||
@ -59,22 +60,26 @@ runs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
- name: Intall npm packages
|
- name: Intall npm packages
|
||||||
if: ${{ inputs.npm }} == true
|
if: ${{ inputs.npm }} == true
|
||||||
|
shell: bash
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
# OS installs
|
# OS installs
|
||||||
- name: Install OS Dependencies
|
- name: Install OS Dependencies
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install gettext
|
sudo apt-get install gettext
|
||||||
- name: Install Specific OS Dependencies
|
- name: Install Specific OS Dependencies
|
||||||
if: ${{ inputs.apt-dependency }}
|
if: ${{ inputs.apt-dependency }}
|
||||||
run: |
|
shell: bash
|
||||||
sudo apt-get install ${{ inputs.apt-dependency }}
|
run: sudo apt-get install ${{ inputs.apt-dependency }}
|
||||||
|
|
||||||
# Invoke commands
|
# Invoke commands
|
||||||
- name: Run invoke install
|
- name: Run invoke install
|
||||||
if: ${{ inputs.install }} == true
|
if: ${{ inputs.install }} == true
|
||||||
|
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
|
||||||
run: invoke update
|
run: invoke update
|
||||||
|
Reference in New Issue
Block a user