2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

make code cleaner

This commit is contained in:
Matthias
2022-05-27 23:03:20 +02:00
parent 11ffd41745
commit b120a297c5
2 changed files with 42 additions and 54 deletions

View File

@ -53,7 +53,7 @@ runs:
# NPM installs
- name: Install node.js ${{ env.node_version }}
if: ${{ inputs.npm }} == true
if: ${{ inputs.npm }} == 'true'
uses: actions/setup-node@v2
with:
node-version: ${{ env.node_version }}
@ -65,14 +65,11 @@ runs:
# OS installs
- name: Install OS Dependencies
if: ${{ inputs.apt-dependency }}
shell: bash
run: |
sudo apt-get update
sudo apt-get install gettext
- name: Install Specific OS Dependencies
if: ${{ inputs.apt-dependency }}
shell: bash
run: sudo apt-get install ${{ inputs.apt-dependency }}
sudo apt-get install ${{ inputs.apt-dependency }}
# Invoke commands
- name: Run invoke install