Skip to content

Commit

Permalink
Simplify build
Browse files Browse the repository at this point in the history
  • Loading branch information
Leapward-Koex committed Jan 18, 2025
1 parent 532bc4c commit 7af8e70
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,23 @@ jobs:
npm run build:firefox -- --env build_number=1.2.${{ github.run_number }}
shell: bash

- name: Package Firefox
run: |
cd dist
zip -r ../namida-ff.xpi ./*
rm -rf dist
- name: Upload Firefox Artifact
uses: actions/upload-artifact@v3
with:
name: firefox-plugin
path: namida-ff.xpi
name: namida-ocr-ff
path: dist

- name: Clean dist
run: |
rm -rf dist
- name: Build Chrome Plugin
run: |
npm run build:chrome -- --env build_number=1.2.${{ github.run_number }}
shell: bash

- name: Package Chrome
run: |
cd dist
zip -r ../namida-chrome.crx ./*
cd ..
rm -rf dist
- name: Upload Chrome Artifact
uses: actions/upload-artifact@v3
with:
name: chrome-plugin
path: namida-chrome.crx
name: namida-ocr-chromium
path: dist

0 comments on commit 7af8e70

Please sign in to comment.