From fa0b4263b74a0979b2d25141ca3ba5d3015d55d4 Mon Sep 17 00:00:00 2001 From: Sakura Akeno Isayeki Date: Thu, 1 Feb 2024 18:58:11 +0100 Subject: [PATCH] fix(ci): Update build workflow for Angular app - Removed unnecessary step to switch working directory - Set the correct working directory for installing dependencies and building the app - Updated artifact path to reflect the correct location of the built files --- .github/workflows/build-package-web.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-package-web.yml b/.github/workflows/build-package-web.yml index 57c17c0..192d87e 100644 --- a/.github/workflows/build-package-web.yml +++ b/.github/workflows/build-package-web.yml @@ -30,17 +30,16 @@ jobs: - name: Install Angular CLI run: npm install -g @angular/cli - - name: Switch working directory to webapp project - run: cd ./wowskarma.app - - name: Install dependencies + working-directory: ~/wows-karma.app/ run: npm install - name: Build Angular app + working-directory: ~/wows-karma.app/ run: ng build --configuration=${{ inputs.build_configuration }} - name: Upload Artifacts uses: actions/upload-artifact@v4 with: name: wowskarma_app - path: ./dist \ No newline at end of file + path: ./wowskarma.app/dist \ No newline at end of file