Update Edge Add-on publish action to v2

Upgrades the Edge Add-on GitHub Action from v1 to v2, updates input parameters to use api-key and notes-for-certification, and removes unused client-secret and access-token-url fields for improved compatibility and automation.
This commit is contained in:
xixu-me committed 2025-07-11 17:01:22 +08:00
1 parent 1b9b4ef0d2
commit 013026a983
1 file changed
+3 -3
+3 -3
View File
@@ -110,13 +110,13 @@ jobs:
- name: Publish to Microsoft Edge Add-ons
continue-on-error: true
id: edge-publish
uses: wdzeng/edge-addon@v1
uses: wdzeng/edge-addon@v2
with:
product-id: ${{ secrets.EDGE_PRODUCT_ID }}
zip-path: edge-extension.zip
api-key: ${{ secrets.EDGE_API_KEY }}
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}
notes-for-certification: "Automatic release v${{ steps.version.outputs.version }} - ${{ github.sha }}"
- name: Create GitHub Release
uses: softprops/action-gh-release@v1