Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Aug 3, 2024
1 parent c94ec23 commit e072959
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build-chrome-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e072959

Please sign in to comment.