forked from FooSoft/yomichan
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add publish to Microsoft CI Github Action (#1314)
* Add publish to Microsoft CI * Test workflow by triggering on push * Remove maxAttempt * Use chrome zip for testing * Testing: hardcode tag name * Remove test code * Remove orphaned result * Remove edge dev build
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: publish-edge | ||
on: workflow_dispatch | ||
permissions: | ||
contents: read | ||
jobs: | ||
upload-on-webstore: | ||
runs-on: ubuntu-latest | ||
environment: cd | ||
outputs: | ||
result: ${{ steps.webStorePublish.outcome }} | ||
permissions: | ||
actions: write | ||
steps: | ||
- uses: robinraju/release-downloader@a96f54c1b5f5e09e47d9504526e96febd949d4c2 # [email protected] | ||
with: | ||
tag: ${{ github.ref_name }} | ||
fileName: "*" | ||
|
||
- name: Publish on Microsoft Edge Addons | ||
uses: wdzeng/edge-addon@v1 | ||
id: webStorePublish | ||
with: | ||
product-id: 18e6c4cd-6383-4f38-95e9-92a629f60817 | ||
zip-path: yomitan-edge.zip | ||
client-id: ${{ secrets.EDGE_CLIENT_ID }} | ||
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }} | ||
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters