-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] build the extension before zipping up the source code (#362)
Closes #360
- Loading branch information
1 parent
ba61d53
commit ceb26bf
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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: | | ||
|