From d129eb66101922fd1cac84c435633d64ff783678 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 27 May 2022 23:12:36 +0200 Subject: [PATCH] fix boolean --- .github/actions/setup/action.yaml | 14 +++++++------- .github/workflows/qc_checks.yaml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index f9d8a6620e..1a954349ef 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -14,7 +14,7 @@ inputs: install: required: false description: 'Install the InvenTree requirements?' - default: 'true' + default: 'false' update: required: false description: 'Should a full update cycle be run?' @@ -35,13 +35,13 @@ runs: # Python installs - name: Set up Python ${{ env.python_version }} - if: ${{ inputs.python }} == 'true' + if: ${{ inputs.python == 'true' }} uses: actions/setup-python@v2 with: python-version: ${{ env.python_version }} cache: pip - name: Install Base Python Dependencies - if: ${{ inputs.python }} == 'true' + if: ${{ inputs.python == 'true' }} shell: bash run: | python3 -m pip install -U pip @@ -53,13 +53,13 @@ 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 }} cache: 'npm' - name: Intall npm packages - if: ${{ inputs.npm }} == 'true' + if: ${{ inputs.npm == 'true' }} shell: bash run: npm install @@ -73,10 +73,10 @@ runs: # Invoke commands - name: Run invoke install - if: ${{ inputs.install }} == 'true' + if: ${{ inputs.install == 'true' }} shell: bash run: invoke install - name: Run invoke update - if: ${{ inputs.update }} == 'true' + if: ${{ inputs.update == 'true' }} shell: bash run: invoke update diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 08a0c3c412..399f68dc30 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -34,7 +34,7 @@ jobs: steps: - name: Enviroment Setup - uses: matmair/inventree/.github/actions/setup@ci-updates + uses: ../actions/setup@master with: install: true - name: flake8