Skip to content

Commit

Permalink
ci: fix step script
Browse files Browse the repository at this point in the history
  • Loading branch information
rootCircle committed Dec 26, 2024
1 parent e7b6966 commit da719c2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
37 changes: 19 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,26 @@ jobs:
files: |
web-ext-artifacts/docfiller-*.zip
- name: Read Approval Note
run: |
APPROVAL_NOTE=$(cat docs/FOR_ADDONS_REVIEWERS.md)
echo "APPROVAL_NOTE=$APPROVAL_NOTE" >> $GITHUB_ENV
- uses: wdzeng/firefox-addon@v1
with:
addon-guid: "[email protected]"
xpi-path: web-ext-artifacts/docfiller-${{ env.VERSION }}-firefox.zip
self-hosted: false
jwt-issuer: ${{ secrets.FIREFOX_AUTH_API_ISSUER }}
jwt-secret: ${{ secrets.FIREFOX_AUTH_API_SECRET }}
approval-notes: "Available at https://github.com/rootCircle/docFiller/blob/dev/docs/FOR_ADDONS_REVIEWERS.md"

- uses: browser-actions/release-firefox-addon@latest
- uses: wdzeng/edge-addon@v2
with:
addon-id: "docfiller"
addon-path: "web-ext-artifacts/docfiller-*-firefox.zip"
source-path: "docFiller.zip"
approval-note: ${{ env.APPROVAL_NOTE }}
auth-api-issuer: ${{ secrets.AUTH_API_ISSUER }}
auth-api-secret: ${{ secrets.AUTH_API_SECRET }}
release-note: ${{ steps.create_release.outputs.body }}
product-id: 4dfc1366-555a-431e-91d1-9991bc771fab
zip-path: web-ext-artifacts/docfiller-${{ env.VERSION }}-chromium.zip
api-key: ${{ secrets.EDGE_API_KEY }}
client-id: ${{ secrets.EDGE_CLIENT_ID }}

- uses: browser-actions/release-chrome-extension@latest
- uses: wdzeng/chrome-extension@v1
with:
extension-id: "goibiampjlgcdjdfakjepniopldpijcd"
extension-path: "web-ext-artifacts/docfiller-*-chromium.zip"
oauth-client-id: ${{ secrets.OAUTH_CLIENT_ID }}
oauth-client-secret: ${{ secrets.OAUTH_CLIENT_SECRET }}
oauth-refresh-token: ${{ secrets.OAUTH_REFRESH_TOKEN }}
extension-id: goibiampjlgcdjdfakjepniopldpijcd
zip-path: web-ext-artifacts/docfiller-${{ env.VERSION }}-chromium.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v1.4.0 [Unreleased] (as of 2024-12-27)
## v1.3.2 (2024-12-27)

- Change linter, formatter to biome for js,ts files.
- Add Firefox, Chrome scripts in action for extension publish.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "docfiller",
"version": "1.3.1",
"version": "1.3.2",
"description": "Automated Google forms filling using genai",
"homepage": "https://github.com/rootCircle/docFiller",
"keywords": [
Expand Down

0 comments on commit da719c2

Please sign in to comment.