Skip to content

Commit

Permalink
fix conf
Browse files Browse the repository at this point in the history
  • Loading branch information
redDwarf03 committed Aug 3, 2024
1 parent 11b1aef commit f450ba2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build-chrome-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
- name: Build Chrome Extension
run: bash ./scripts/build_chrome_extension.sh

- name: List build directory contents
run: ls -R build

- name: Get Version from pubspec.yaml
id: get_version
run: |
Expand All @@ -40,12 +43,16 @@ jobs:
- name: Zip build folder
run: |
cd build/chrome-extension
zip -r ../chrome-extension-${{ steps.get_version.outputs.version_app }}.zip ./
working-directory: build/chrome-extension
if [ -d build/chrome-extension ]; then
cd build/chrome-extension
zip -r ../../chrome-extension-${{ steps.get_version.outputs.version_app }}.zip ./
else
echo "Directory build/chrome-extension does not exist"
exit 1
fi
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: chrome-extension-build-${{ steps.get_version.outputs.version_app }}
path: build/chrome-extension-${{ steps.get_version.outputs.version_app }}.zip
path: chrome-extension-${{ steps.get_version.outputs.version_app }}.zip

0 comments on commit f450ba2

Please sign in to comment.