Skip to content

Commit

Permalink
Add packaging commands to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Diniz <[email protected]>
  • Loading branch information
arthurbdiniz committed Oct 26, 2021
1 parent a91a8a2 commit 267f2be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Package chrome
run: cd chrome && zip -r -FS ../gh-action-dropdown-chrome.zip * && cd ..
run: make package-chrome
- name: Package firefox
run: cd firefox && zip -r -FS ../gh-action-dropdown-firefox.zip * && cd ..
run: make package-firefox
- name: release
uses: actions/create-release@v1
id: create_release
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package-chrome:
cd chrome && zip -r -FS ../gh-action-dropdown-chrome.zip * && cd ..

package-firefox:
cd firefox && zip -r -FS ../gh-action-dropdown-firefox.zip * && cd ..
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
## Package extension
```bash
zip -r -FS gh-action-dropdown-chrome.zip chrome
# Chrome
make package-chrome

# or

zip -r -FS gh-action-dropdown-firefox.zip firefox
# Firefox
make package-firefox
```

## License
Expand Down

0 comments on commit 267f2be

Please sign in to comment.