From aaac3157360f02de9a1f674e010ba825568af668 Mon Sep 17 00:00:00 2001 From: brecert Date: Tue, 14 Sep 2021 01:10:57 -0400 Subject: [PATCH] Fix shell not being included for build action --- .github/actions/build/action.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 2993627d..8212824b 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -13,6 +13,10 @@ inputs: required: true default: . +env: + BUILD_FOLDER: ${{ inputs.folder }} + BASE: ${{ inputs.base }} + runs: using: composite steps: @@ -22,13 +26,12 @@ runs: node-version: 15 cache: "yarn" - - run: yarn install - # - run: yarn check + - name: install dependencies + shell: bash -l {0} + run: yarn install - name: build - env: - BUILD_FOLDER: ${{ inputs.folder }} - BASE: ${{ inputs.base }} + shell: bash -l {0} run: | cd "$BUILD_FOLDER" yarn build --base "$BASE"