-
-
Notifications
You must be signed in to change notification settings - Fork 17
41 lines (36 loc) · 1.28 KB
/
release-windows-store.yml
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
name: Publish MSIX to Microsoft Store
on:
# Enable manual run
workflow_dispatch:
# Build & deploy for published releases
release:
types:
- published
concurrency:
group: ci-release-${{ github.ref }}-1
cancel-in-progress: true
jobs:
call-build-windows:
uses: ./.github/workflows/build-windows.yml
with:
pre-release: false
secrets: inherit
docker:
needs: call-build-windows
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Publish to Store
uses: isaacrlevin/windows-store-action@main
with:
tenant-id: ${{ secrets.AZURE_AD_TENANT_ID }}
client-id: ${{ secrets.AZURE_AD_APPLICATION_CLIENT_ID }}
client-secret: ${{ secrets.AZURE_AD_APPLICATION_SECRET }}
# "app-id" is the Store ID as listed in Partner Center
# https://github.com/isaacrlevin/windows-store-action/issues/5#issuecomment-1086893615
app-id: ${{ secrets.MICROSOFT_STORE_APP_ID }}
package-path: "${{ github.workspace }}/artifacts/windows-store-artifact/"
delete-pending: true