Skip to content

Commit ac7e19c

Browse files
committedMar 23, 2025
Code Quality: Fixed nuget restore
1 parent 7f17141 commit ac7e19c

File tree

4 files changed

+37
-9
lines changed

4 files changed

+37
-9
lines changed
 

‎.github/workflows/cd-sideload-preview.yml

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ jobs:
8484
-p:PublishReadyToRun=true `
8585
-v:quiet
8686
87+
- name: Restore NuGet Packages for Launcher Project
88+
shell: pwsh
89+
run: |
90+
nuget restore "$env:LAUNCHER_PROJECT_PATH" `
91+
-SolutionDirectory "$env:WORKING_DIR" `
92+
-Verbosity detailed
93+
8794
- name: Build launcher project
8895
shell: pwsh
8996
run: |

‎.github/workflows/cd-sideload-stable.yml

+7
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ jobs:
8383
-p:Configuration=$env:CONFIGURATION `
8484
-p:PublishReadyToRun=true `
8585
-v:quiet
86+
87+
- name: Restore NuGet Packages for Launcher Project
88+
shell: pwsh
89+
run: |
90+
nuget restore "$env:LAUNCHER_PROJECT_PATH" `
91+
-SolutionDirectory "$env:WORKING_DIR" `
92+
-Verbosity detailed
8693
8794
- name: Build launcher project
8895
shell: pwsh

‎.github/workflows/cd-store-preview.yml

+16-9
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
shell: cmd
7171
run: |
7272
for /f %%a in ('dir /b /a:d %localappdata%\Microsoft\VisualStudio\17*') do echo UsePreviews=True>%localappdata%\Microsoft\VisualStudio\%%a\sdk.txt
73-
73+
7474
- name: Restore Files
7575
shell: pwsh
7676
run: |
@@ -81,6 +81,13 @@ jobs:
8181
-p:PublishReadyToRun=true `
8282
-v:quiet
8383
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+
8491
- name: Build launcher project
8592
shell: pwsh
8693
run: |
@@ -107,20 +114,20 @@ jobs:
107114
- name: Remove empty files from the packages
108115
shell: bash
109116
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 }}
110123

111124
- name: Publish the packages to Microsoft Store
112-
uses: isaacrlevin/windows-store-action@1
125+
uses: isaacrlevin/windows-store-action@1.0
113126
with:
114127
app-id: '9NSQD9PKV3SS'
115128
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
116129
client-id: ${{ secrets.AZURE_CLIENT_ID }}
117130
client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
118-
package-path: '${{ env.APPX_PACKAGE_DIR }}/**/*.msixupload'
131+
package-path: '${{ env.APPX_PACKAGE_DIR }}'
119132
skip-polling: false
120133
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 }}

‎.github/workflows/cd-store-stable.yml

+7
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ jobs:
8181
-p:PublishReadyToRun=true `
8282
-v:quiet
8383
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+
8491
- name: Build launcher project
8592
shell: pwsh
8693
run: |

0 commit comments

Comments
 (0)
Failed to load comments.