From e6ef0998fc014618f0d670f38170364c2b37284a Mon Sep 17 00:00:00 2001 From: Zach McElrath Date: Tue, 14 Nov 2023 17:22:28 -0500 Subject: [PATCH 1/2] fix: patch build failing --- .github/workflows/patch_build_and_release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/patch_build_and_release.yaml b/.github/workflows/patch_build_and_release.yaml index 36bd32f..2728911 100644 --- a/.github/workflows/patch_build_and_release.yaml +++ b/.github/workflows/patch_build_and_release.yaml @@ -43,9 +43,8 @@ jobs: UESIO_CLI_HOST: ${{ vars.UESIO_CLI_HOST }} UESIO_CLI_LOGIN_METHOD: uesio/core.platform run: | - [ ! -d "/apps/${{ inputs.app }}" ] && echo "Invalid app name" && exit 1 echo "Building ${{ inputs.app }}" - cd "/apps/${{ inputs.app }}" + cd /apps/${{ inputs.app }} npm ci npm run lint cd ../.. From 286ba01cd3fe3d8061178894c7060d6c9b77a6b7 Mon Sep 17 00:00:00 2001 From: Zach McElrath Date: Tue, 14 Nov 2023 17:25:39 -0500 Subject: [PATCH 2/2] fix: Patch build again --- .github/workflows/patch_build_and_release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/patch_build_and_release.yaml b/.github/workflows/patch_build_and_release.yaml index 2728911..16a9162 100644 --- a/.github/workflows/patch_build_and_release.yaml +++ b/.github/workflows/patch_build_and_release.yaml @@ -44,8 +44,8 @@ jobs: UESIO_CLI_LOGIN_METHOD: uesio/core.platform run: | echo "Building ${{ inputs.app }}" - cd /apps/${{ inputs.app }} + cd apps/${{ inputs.app }} npm ci npm run lint - cd ../.. - bash bundle.sh /apps/${{ inputs.app }} + cd - >> /dev/null + bash bundle.sh apps/${{ inputs.app }}