From 26d0718ec1775650102f05df56a777848ad1941b Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Mon, 11 Mar 2024 13:50:23 +0100 Subject: [PATCH] Fix script --- .github/workflows/test.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8eae50f..102b66a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,13 +56,15 @@ jobs: run: pnpm install --frozen-lockfile=false - name: Build extension - run: cd holo-key-manager-extension && pnpm build + run: pnpm build + working-directory: holo-key-manager-extension - name: Zip the build run: | - cd holo-key-manager-extension/build + cd build zip -r ../build.zip . cd .. + working-directory: holo-key-manager-extension - name: Chrome upload & release uses: mobilefirstllc/cws-publish@latest @@ -86,16 +88,19 @@ jobs: access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }} - name: Replace manifest - run: cd holo-key-manager-extension && pnpm build:replaceForFirefox ${{ vars.FF_ID }} + run: pnpm build:replaceForFirefox ${{ vars.FF_ID }} + working-directory: holo-key-manager-extension - name: Build extension - run: cd holo-key-manager-extension && pnpm build + run: pnpm build + working-directory: holo-key-manager-extension - name: Zip the build run: | - cd holo-key-manager-extension/build + cd build zip -r ../buildFF.zip . cd .. + working-directory: holo-key-manager-extension - name: Firefox upload & release uses: cardinalby/webext-buildtools-firefox-addons-action@1.0.9