From e072959d8ff5e9cc6fd97cae0c60d15d828b1eba Mon Sep 17 00:00:00 2001 From: redDwarf03 Date: Sat, 3 Aug 2024 14:27:40 +0200 Subject: [PATCH] add logs --- .github/workflows/build-chrome-ext.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-chrome-ext.yml b/.github/workflows/build-chrome-ext.yml index 48e464071..b2f6aa791 100644 --- a/.github/workflows/build-chrome-ext.yml +++ b/.github/workflows/build-chrome-ext.yml @@ -38,18 +38,28 @@ jobs: echo "version_app=${version_str}" >> $GITHUB_OUTPUT echo "env_version_app=${version_str}" >> $GITHUB_ENV + - name: List build directory contents for debugging + run: ls -R build + - name: Check build directory exists run: | if [ ! -d "build/chrome-extension" ]; then echo "Error: build/chrome-extension directory does not exist." exit 1 + else + echo "build/chrome-extension directory exists." + ls build/chrome-extension fi - name: Zip build folder run: | + echo "Navigating to build/chrome-extension" cd build/chrome-extension + echo "Current directory:" + pwd + echo "Creating zip file..." zip -r ../../chrome-extension-build-${{ steps.get_version.outputs.version_app }}.zip ./* - working-directory: build/chrome-extension + working-directory: build - name: Upload artifact uses: actions/upload-artifact@v4