Skip to content

Commit 4ae88c5

Browse files
committed
update action setting
1 parent c6ed870 commit 4ae88c5

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

+30
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,33 @@ jobs:
4848
with:
4949
name: Proxyverse
5050
path: ./dist/
51+
52+
release:
53+
if: ${{ github.ref_type == 'tag' }}
54+
runs-on: ubuntu-latest
55+
needs:
56+
- build
57+
58+
steps:
59+
- name: Download artifact
60+
uses: actions/download-artifact@v4
61+
with:
62+
name: Proxyverse
63+
path: ./dist/
64+
65+
- name: Pack artifact
66+
run: cd ./dist/ && zip -r ../Proxyverse.zip ./
67+
68+
- name: Upload to release page
69+
uses: softprops/action-gh-release@v2
70+
with:
71+
files: ./Proxyverse.zip
72+
73+
- name: Upload to MS Edge
74+
uses: wdzeng/edge-addon@v1
75+
with:
76+
product-id: 6fa97660-6c21-41e4-87e6-06a88509753f
77+
zip-path: ./Proxyverse.zip
78+
client-id: ${{ secrets.EDGE_CLIENT_ID }}
79+
client-secret: ${{ secrets.EDGE_CLIENT_SECRET }}
80+
access-token-url: ${{ secrets.EDGE_ACCESS_TOKEN_URL }}

0 commit comments

Comments
 (0)