Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Plasmo G.A.T Deployer committed Jan 7, 2025
1 parent a3dccb0 commit 2c82adc
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 122 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ Each browser option is made of the following:

* `versionFile`: Relative path to a json file which has a version field. Defaults to package.json

* `sourceZip`: The zip file containing the source code for Firefox submissions.

* `source` and `sourceFile`: Aliases for the `sourceZip` property.

* `notes`: [Edge Only] Provide notes for certification to the Edge Add-ons reviewers.

The final json might look like this:
Expand All @@ -76,16 +80,16 @@ The final json might look like this:
},
"firefox": {
"file": "firefox_addon.xpi",
"sourceFile": "source.zip",
"extId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd",
"apiKey": "ab214c4d",
"apiSecret": "e%f253^gh"
},
"edge": {
"zip": "chromium_addon.zip",
"clientId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd",
"clientSecret": "ab#c4de6fg",
"apiKey": "ab#c4de6fg",
"productId": "aaaaaaa-aaaa-bbbb-cccc-dddddddddddd",
"accessTokenUrl": "https://login.microsoftonline.com/aaaaaaa-aaaa-bbbb-cccc-dddddddddddd/oauth2/v2.0/token",
"notes": "This is a test submission"
}
}
Expand Down Expand Up @@ -117,6 +121,10 @@ Specifying options here will **override** those in the keys file.
opera-file/chrome-file/firefox-file/edge-file:
required: false
description: "The file to be published to a specific store."
source:
alias: [source-zip, source-file]
required: false
description: "The extension source zip artifact for Firefox submissions."
notes:
alias: [edge-notes]
required: false
Expand Down
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ inputs:
notes:
required: false
description: "A release note cataloging changes. (Edge only)"
source:
required: false
description: "The extension source zip file."
source-zip:
required: false
description: "This is an alias to source argument."
source-file:
required: false
description: "This is an alias to source argument."
edge-notes:
required: false
description: "This is an alias to notes argument."
Expand Down
192 changes: 78 additions & 114 deletions index.js

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions keys.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,9 @@
"type": "string",
"description": "You can find your client ID by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"
},
"clientSecret": {
"type": "string",
"description": "You can find your client secret by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"
},
"accessTokenUrl": {
"apiKey": {
"type": "string",
"description": "You can find your access token URL by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"
"description": "You can find your api key by visiting the Microsoft Partner Center: https://partner.microsoft.com/en-us/dashboard/microsoftedge/publishapi"
},
"uploadOnly": {
"type": "boolean",
Expand Down

0 comments on commit 2c82adc

Please sign in to comment.