-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (38 loc) · 1011 Bytes
/
Copy pathpublish.yml
File metadata and controls
42 lines (38 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Publish to Microsoft Store
on:
workflow_call:
inputs:
version:
required: true
type: string
secrets:
AZURE_TENANT_ID:
required: true
AZURE_CLIENT_ID:
required: true
AZURE_CLIENT_SECRET:
required: true
PRODUCT_ID:
required: true
jobs:
publish:
runs-on: windows-2022
steps:
- name: Download built package
uses: actions/download-artifact@v4
with:
name: msix-${{ inputs.version }}
path: UploadFiles/
merge-multiple: true
- name: Upload to Microsoft Store
uses: isaacrlevin/windows-store-action@1.0
with:
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
app-id: ${{ secrets.PRODUCT_ID }}
package-path: "UploadFiles/"
delete-pending: true
delete-packages: true
skip-polling: true
packages-keep: 1