Skip to content

Commit

Permalink
[fix] build the extension before zipping up the source code (#362)
Browse files Browse the repository at this point in the history
Closes #360
  • Loading branch information
rougetimelord authored Oct 14, 2024
1 parent ba61d53 commit ceb26bf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ jobs:
sourcefile: ${{ steps.src.outputs.sourcefile }}
steps:
- uses: actions/checkout@v4
- name: zip source code
id: src
run: |
SOURCE_FILENAME="blue-blocker-source-$(make version).zip"
export SOURCE_FILENAME
zip "$SOURCE_FILENAME" -r ./* ./.* -x ".git/*" "build/*" \
"node_modules/*" "../*"
echo "sourcefile=$SOURCE_FILENAME" >> "$GITHUB_OUTPUT"
- name: Set up Node.js
uses: actions/[email protected]
with:
Expand All @@ -29,6 +21,14 @@ jobs:
run: npm install --legacy-peer-deps
- name: build firefox
run: npm run build
- name: zip source code
id: src
run: |
SOURCE_FILENAME="blue-blocker-source-$(make version).zip"
export SOURCE_FILENAME
zip "$SOURCE_FILENAME" -r ./* ./.* -x ".git/*" "build/*" \
"node_modules/*" "../*"
echo "sourcefile=$SOURCE_FILENAME" >> "$GITHUB_OUTPUT"
- name: zip firefox
id: build
run: |
Expand Down

0 comments on commit ceb26bf

Please sign in to comment.