Skip to content

Commit

Permalink
Fix Build
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr committed Oct 20, 2023
1 parent 7d3191d commit 1841609
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
release:
types: [published]

env:
PACKAGE_NAME: link_extractor

jobs:
build:
name: "Build"
Expand Down Expand Up @@ -48,13 +51,13 @@ jobs:
echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }}
${{ steps.setup-chrome.outputs.chrome-path }} --version
${{ steps.setup-chrome.outputs.chrome-path }} --pack-extension=./src --pack-extension-key=.key
mv src.crx web-ext-artifacts/django_files-${{ steps.manifest.outputs.version }}.crx
mv src.crx web-ext-artifacts/${{ env.PACKAGE_NAME }}-${{ steps.manifest.outputs.version }}.crx
- name: "Create ZIP Archive"
working-directory: "src"
run: |
ls -lAh .
zip "../web-ext-artifacts/chrome.zip" -r .
zip "../web-ext-artifacts/${{ env.PACKAGE_NAME }}-${{ steps.manifest.outputs.version }}.zip" -r .
- name: "Archive Artifacts"
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 1841609

Please sign in to comment.