Skip to content

Commit

Permalink
Github action to publish to edge store (#45)
Browse files Browse the repository at this point in the history
* Github action to publish to MS edge store

* Changes requested
  • Loading branch information
shivapoudel authored Oct 24, 2022
1 parent b8978a1 commit 0a0beb1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ jobs:
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

- name: Upload to edge store
if: ${{ github.event.inputs.onlyUpload != 'edge' && github.event.inputs.onlyUpload != 'none' }}
continue-on-error: true
uses: wdzeng/edge-addon@v1
with:
product-id: d7692295-d84f-4bf5-9447-3cbb6ae29517
zip-path: github-material-icons-edge-extension.zip
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}

- name: Upload to firefox store
if: ${{ github.event.inputs.onlyUpload != 'chrome' && github.event.inputs.onlyUpload != 'none'}}
continue-on-error: true
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/update-from-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ jobs:
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

- name: Upload to edge store
if: steps.upstream.outputs.release_tag != steps.upstream.outputs.current_tag
continue-on-error: true
uses: wdzeng/edge-addon@v1
with:
product-id: d7692295-d84f-4bf5-9447-3cbb6ae29517
zip-path: github-material-icons-edge-extension.zip
client-id: ${{ secrets.EDGE_CLIENT_ID }}
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}

- name: Upload to firefox store
if: steps.upstream.outputs.release_tag != steps.upstream.outputs.current_tag
continue-on-error: true
Expand Down

0 comments on commit 0a0beb1

Please sign in to comment.