70
70
shell : cmd
71
71
run : |
72
72
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt
73
-
73
+
74
74
- name : Restore Files
75
75
shell : pwsh
76
76
run : |
81
81
-p:PublishReadyToRun=true `
82
82
-v:quiet
83
83
84
+ - name : Restore NuGet Packages for Launcher Project
85
+ shell : pwsh
86
+ run : |
87
+ nuget restore "$env:LAUNCHER_PROJECT_PATH" `
88
+ -SolutionDirectory "$env:WORKING_DIR" `
89
+ -Verbosity detailed
90
+
84
91
- name : Build launcher project
85
92
shell : pwsh
86
93
run : |
@@ -107,20 +114,20 @@ jobs:
107
114
- name : Remove empty files from the packages
108
115
shell : bash
109
116
run : find $ARTIFACTS_STAGING_DIR -empty -delete
117
+
118
+ - name : Upload the packages to GitHub Actions
119
+ uses : actions/upload-artifact@v4
120
+ with :
121
+ name : ' Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
122
+ path : ${{ env.ARTIFACTS_STAGING_DIR }}
110
123
111
124
- name : Publish the packages to Microsoft Store
112
- uses : isaacrlevin/windows-store-action@1
125
+ uses : isaacrlevin/windows-store-action@1.0
113
126
with :
114
127
app-id : ' 9NSQD9PKV3SS'
115
- tenant-id : ${{ secrets.AZURE_TENANT_ID }}
116
- client-id : ${{ secrets.AZURE_CLIENT_ID }}
117
- client-secret : ${{ secrets.AZURE_CLIENT_SECRET }}
118
- package-path : ' ${{ env.APPX_PACKAGE_DIR }}/**/*.msixupload '
128
+ tenant-id : ${{ secrets.STORE_TENANT_ID }}
129
+ client-id : ${{ secrets.STORE_CLIENT_ID }}
130
+ client-secret : ${{ secrets.STORE_CLIENT_SECRET }}
131
+ package-path : ' ${{ env.APPX_PACKAGE_DIR }}'
119
132
skip-polling : false
120
133
packages-keep : 5
121
-
122
- - name : Upload the packages to GitHub Actions
123
- uses : actions/upload-artifact@v4
124
- with :
125
- name : ' Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
126
- path : ${{ env.ARTIFACTS_STAGING_DIR }}
0 commit comments