Skip to content

Commit c601e06

Browse files
committed
update github actions dependencies
1 parent 66dfeb5 commit c601e06

6 files changed

Lines changed: 64 additions & 71 deletions

File tree

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ jobs:
3333
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
3434
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
3535
APPX_PACKAGE_DIR: '${{ github.workspace }}\artifacts\AppxPackages\'
36-
APP_PROJECT_PATH: 'src\Files.App\Files.App.csproj'
36+
APP_PROJECT_PATH: 'src\Files.App\Files.App.csproj'
3737
PACKAGE_MANIFEST_PATH: 'src\Files.App\Package.appxmanifest'
3838
LAUNCHER_PROJECT_PATH: 'src\Files.App.Launcher\Files.App.Launcher.vcxproj'
3939
TEST_PROJECT_PATH: 'tests\Files.InteractionTests\Files.InteractionTests.csproj'
4040
APP_INSTALLER_SIDELOAD_URL: 'https://cdn.files.community/files/preview/'
4141

4242
steps:
4343
- name: Checkout the repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4545
- name: Setup MSBuild
46-
uses: microsoft/setup-msbuild@v2
46+
uses: microsoft/setup-msbuild@v3
4747
- name: Setup NuGet
48-
uses: NuGet/setup-nuget@v2
48+
uses: NuGet/setup-nuget@v3
4949
- name: Setup .NET
50-
uses: actions/setup-dotnet@v4
50+
uses: actions/setup-dotnet@v5
5151
with:
5252
global-json-file: global.json
5353

@@ -95,7 +95,7 @@ jobs:
9595
-v:quiet
9696
9797
- name: Sign launcher EXE with Azure Trusted Signing
98-
uses: azure/trusted-signing-action@v0.4.0
98+
uses: Azure/artifact-signing-action@v1
9999
with:
100100
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
101101
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -142,7 +142,7 @@ jobs:
142142
run: find $ARTIFACTS_STAGING_DIR -empty -delete
143143

144144
- name: Sign Files with Azure Trusted Signing
145-
uses: azure/trusted-signing-action@v0.4.0
145+
uses: Azure/artifact-signing-action@v1
146146
with:
147147
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
148148
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -159,7 +159,7 @@ jobs:
159159
timestamp-digest: SHA256
160160

161161
- name: Upload packages to Cloudflare
162-
uses: ryand56/r2-upload-action@latest
162+
uses: ryand56/r2-upload-action@v1
163163
with:
164164
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
165165
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
@@ -169,7 +169,7 @@ jobs:
169169
destination-dir: ./files/preview
170170

171171
- name: Upload the packages to GitHub Actions
172-
uses: actions/upload-artifact@v4
172+
uses: actions/upload-artifact@v7
173173
with:
174174
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
175175
path: ${{ env.ARTIFACTS_STAGING_DIR }}

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ jobs:
3333
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
3434
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
3535
APPX_PACKAGE_DIR: '${{ github.workspace }}\artifacts\AppxPackages\'
36-
APP_PROJECT_PATH: 'src\Files.App\Files.App.csproj'
36+
APP_PROJECT_PATH: 'src\Files.App\Files.App.csproj'
3737
PACKAGE_MANIFEST_PATH: 'src\Files.App\Package.appxmanifest'
3838
LAUNCHER_PROJECT_PATH: 'src\Files.App.Launcher\Files.App.Launcher.vcxproj'
3939
TEST_PROJECT_PATH: 'tests\Files.InteractionTests\Files.InteractionTests.csproj'
4040
APP_INSTALLER_SIDELOAD_URL: 'https://cdn.files.community/files/stable/'
4141

4242
steps:
4343
- name: Checkout the repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4545
- name: Setup MSBuild
46-
uses: microsoft/setup-msbuild@v2
46+
uses: microsoft/setup-msbuild@v3
4747
- name: Setup NuGet
48-
uses: NuGet/setup-nuget@v2
48+
uses: NuGet/setup-nuget@v3
4949
- name: Setup .NET
50-
uses: actions/setup-dotnet@v4
50+
uses: actions/setup-dotnet@v5
5151
with:
5252
global-json-file: global.json
5353

@@ -67,7 +67,7 @@ jobs:
6767
SECRET_BINGMAPS_KEY: ${{ secrets.BING_MAPS_SECRET }}
6868
SECRET_SENTRY: ${{ secrets.SENTRY_SECRET }}
6969
SECRET_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.GH_OAUTH_CLIENT_ID }}
70-
70+
7171
- name: Restore Files
7272
shell: pwsh
7373
run: |
@@ -84,7 +84,7 @@ jobs:
8484
nuget restore "$env:LAUNCHER_PROJECT_PATH" `
8585
-SolutionDirectory "$env:WORKING_DIR" `
8686
-Verbosity detailed
87-
87+
8888
- name: Build launcher project
8989
shell: pwsh
9090
run: |
@@ -95,7 +95,7 @@ jobs:
9595
-v:quiet
9696
9797
- name: Sign launcher EXE with Azure Trusted Signing
98-
uses: azure/trusted-signing-action@v0.4.0
98+
uses: Azure/artifact-signing-action@v1
9999
with:
100100
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
101101
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -142,7 +142,7 @@ jobs:
142142
run: find $ARTIFACTS_STAGING_DIR -empty -delete
143143

144144
- name: Sign Files with Azure Trusted Signing
145-
uses: azure/trusted-signing-action@v0.4.0
145+
uses: Azure/artifact-signing-action@v1
146146
with:
147147
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
148148
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -159,17 +159,17 @@ jobs:
159159
timestamp-digest: SHA256
160160

161161
- name: Upload packages to Cloudflare
162-
uses: ryand56/r2-upload-action@latest
162+
uses: ryand56/r2-upload-action@v1
163163
with:
164164
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
165165
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
166166
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
167167
r2-bucket: ${{ secrets.R2_BUCKET }}
168168
source-dir: ${{ env.APPX_PACKAGE_DIR }}
169169
destination-dir: ./files/stable
170-
170+
171171
- name: Upload the packages to GitHub Actions
172-
uses: actions/upload-artifact@v4
172+
uses: actions/upload-artifact@v7
173173
with:
174174
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
175175
path: ${{ env.ARTIFACTS_STAGING_DIR }}

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
3333
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
3434
APPX_PACKAGE_DIR: '${{ github.workspace }}\artifacts\AppxPackages\'
35-
APP_PROJECT_PATH: '${{ github.workspace }}\src\Files.App\Files.App.csproj'
35+
APP_PROJECT_PATH: '${{ github.workspace }}\src\Files.App\Files.App.csproj'
3636
PACKAGE_MANIFEST_PATH: '${{ github.workspace }}\src\Files.App\Package.appxmanifest'
3737
LAUNCHER_PROJECT_PATH: 'src\Files.App.Launcher\Files.App.Launcher.vcxproj'
3838

3939
steps:
4040
- name: Checkout the repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
- name: Setup MSBuild
43-
uses: microsoft/setup-msbuild@v2
43+
uses: microsoft/setup-msbuild@v3
4444
- name: Setup NuGet
45-
uses: NuGet/setup-nuget@v2
45+
uses: NuGet/setup-nuget@v3
4646
- name: Setup .NET
47-
uses: actions/setup-dotnet@v4
47+
uses: actions/setup-dotnet@v5
4848
with:
4949
global-json-file: global.json
5050

@@ -64,7 +64,7 @@ jobs:
6464
SECRET_BINGMAPS_KEY: ${{ secrets.BING_MAPS_SECRET }}
6565
SECRET_SENTRY: ${{ secrets.SENTRY_SECRET }}
6666
SECRET_GITHUB_OAUTH_CLIENT_ID: ${{ secrets.GH_OAUTH_CLIENT_ID }}
67-
67+
6868
- name: Restore Files
6969
shell: pwsh
7070
run: |
@@ -81,7 +81,7 @@ jobs:
8181
nuget restore "$env:LAUNCHER_PROJECT_PATH" `
8282
-SolutionDirectory "$env:WORKING_DIR" `
8383
-Verbosity detailed
84-
84+
8585
- name: Build launcher project
8686
shell: pwsh
8787
run: |
@@ -92,7 +92,7 @@ jobs:
9292
-v:quiet
9393
9494
- name: Sign launcher EXE with Azure Trusted Signing
95-
uses: azure/trusted-signing-action@v0.4.0
95+
uses: Azure/artifact-signing-action@v1
9696
with:
9797
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
9898
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -135,9 +135,9 @@ jobs:
135135
- name: Remove empty files from the packages
136136
shell: bash
137137
run: find $ARTIFACTS_STAGING_DIR -empty -delete
138-
138+
139139
- name: Upload the packages to GitHub Actions
140-
uses: actions/upload-artifact@v4
140+
uses: actions/upload-artifact@v7
141141
with:
142142
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
143143
path: ${{ env.ARTIFACTS_STAGING_DIR }}

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
WORKING_DIR: '${{ github.workspace }}' # D:\a\Files\Files\
3333
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
3434
APPX_PACKAGE_DIR: '${{ github.workspace }}\artifacts\AppxPackages\'
35-
APP_PROJECT_PATH: '${{ github.workspace }}\src\Files.App\Files.App.csproj'
35+
APP_PROJECT_PATH: '${{ github.workspace }}\src\Files.App\Files.App.csproj'
3636
PACKAGE_MANIFEST_PATH: '${{ github.workspace }}\src\Files.App\Package.appxmanifest'
3737
LAUNCHER_PROJECT_PATH: 'src\Files.App.Launcher\Files.App.Launcher.vcxproj'
3838

3939
steps:
4040
- name: Checkout the repository
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@v6
4242
- name: Setup MSBuild
43-
uses: microsoft/setup-msbuild@v2
43+
uses: microsoft/setup-msbuild@v3
4444
- name: Setup NuGet
45-
uses: NuGet/setup-nuget@v2
45+
uses: NuGet/setup-nuget@v3
4646
- name: Setup .NET
47-
uses: actions/setup-dotnet@v4
47+
uses: actions/setup-dotnet@v5
4848
with:
4949
global-json-file: global.json
5050

@@ -92,7 +92,7 @@ jobs:
9292
-v:quiet
9393
9494
- name: Sign launcher EXE with Azure Trusted Signing
95-
uses: azure/trusted-signing-action@v0.4.0
95+
uses: Azure/artifact-signing-action@v1
9696
with:
9797
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
9898
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -137,7 +137,7 @@ jobs:
137137
run: find $ARTIFACTS_STAGING_DIR -empty -delete
138138

139139
- name: Upload the packages to GitHub Actions
140-
uses: actions/upload-artifact@v4
140+
uses: actions/upload-artifact@v7
141141
with:
142142
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
143143
path: ${{ env.ARTIFACTS_STAGING_DIR }}

.github/workflows/ci.yml

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -36,28 +36,25 @@ env:
3636
AUTOMATED_TESTS_PROJECT_DIR: '${{ github.workspace }}\tests\Files.InteractionTests'
3737
AUTOMATED_TESTS_PROJECT_PATH: '${{ github.workspace }}\tests\Files.InteractionTests\Files.InteractionTests.csproj'
3838
AUTOMATED_TESTS_ASSEMBLY_DIR: '${{ github.workspace }}\artifacts\TestsAssembly'
39-
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
39+
ARTIFACTS_STAGING_DIR: '${{ github.workspace }}\artifacts'
4040
APPX_PACKAGE_DIR: '${{ github.workspace }}\artifacts\AppxPackages\'
4141
APPX_SELFSIGNED_CERT_PATH: '${{ github.workspace }}\.github\workflows\FilesApp_SelfSigned.pfx'
4242
WINAPPDRIVER_EXE86_PATH: 'C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe'
4343
WINAPPDRIVER_EXE64_PATH: 'C:\Program Files\Windows Application Driver\WinAppDriver.exe'
4444

4545
jobs:
46-
4746
check-formatting:
48-
4947
if: github.repository_owner == 'files-community'
5048

5149
runs-on: windows-2025-vs2026
5250

5351
steps:
54-
5552
- name: Checkout the repository
56-
uses: actions/checkout@v4
53+
uses: actions/checkout@v6
5754
with:
5855
fetch-depth: 2
5956
- name: Setup .NET
60-
uses: actions/setup-dotnet@v4
57+
uses: actions/setup-dotnet@v5
6158

6259
- name: Install XamlStyler.Console
6360
run: 'dotnet tool install --global XamlStyler.Console'
@@ -75,13 +72,12 @@ jobs:
7572
}
7673
}
7774
continue-on-error: true
78-
75+
7976
- name: Fail if necessary
8077
if: steps.check-step.outcome == 'failure'
8178
run: exit 1
8279

8380
build:
84-
8581
if: github.repository_owner == 'files-community'
8682

8783
runs-on: windows-2025-vs2026
@@ -95,15 +91,14 @@ jobs:
9591
ARCHITECTURE: ${{ matrix.platform }}
9692

9793
steps:
98-
9994
- name: Checkout the repository
100-
uses: actions/checkout@v4
95+
uses: actions/checkout@v6
10196
- name: Setup MSBuild
102-
uses: microsoft/setup-msbuild@v2
97+
uses: microsoft/setup-msbuild@v3
10398
- name: Setup NuGet
104-
uses: NuGet/setup-nuget@v2
99+
uses: NuGet/setup-nuget@v3
105100
- name: Setup .NET
106-
uses: actions/setup-dotnet@v4
101+
uses: actions/setup-dotnet@v5
107102
with:
108103
global-json-file: global.json
109104

@@ -117,7 +112,7 @@ jobs:
117112
-p:PublishReadyToRun=true `
118113
-v:quiet
119114
120-
- if: env.CONFIGURATION != env.AUTOMATED_TESTS_CONFIGURATION || env.ARCHITECTURE != env.AUTOMATED_TESTS_ARCHITECTURE
115+
- if: env.CONFIGURATION != env.AUTOMATED_TESTS_CONFIGURATION || env.ARCHITECTURE != env.AUTOMATED_TESTS_ARCHITECTURE
121116
name: Build Files
122117
run: |
123118
msbuild `
@@ -173,13 +168,12 @@ jobs:
173168
174169
- if: env.ARCHITECTURE == env.AUTOMATED_TESTS_ARCHITECTURE && env.CONFIGURATION == env.AUTOMATED_TESTS_CONFIGURATION
175170
name: Upload the packages to the Artifacts
176-
uses: actions/upload-artifact@v4
171+
uses: actions/upload-artifact@v7
177172
with:
178173
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.ARCHITECTURE }})'
179174
path: ${{ env.ARTIFACTS_STAGING_DIR }}
180175

181176
test:
182-
183177
if: github.repository_owner == 'files-community' && always()
184178

185179
needs: [build]
@@ -196,20 +190,19 @@ jobs:
196190
pull-requests: write
197191

198192
steps:
199-
200193
- if: contains(join(needs.*.result, ','), 'failure')
201194
name: Fail if necessary
202195
run: exit 1
203196

204197
- name: Checkout the repository
205-
uses: actions/checkout@v4
198+
uses: actions/checkout@v6
206199
- name: Setup .NET
207-
uses: actions/setup-dotnet@v4
200+
uses: actions/setup-dotnet@v5
208201
with:
209202
global-json-file: global.json
210203

211204
- name: Download the packages from the Artifacts
212-
uses: actions/download-artifact@v4
205+
uses: actions/download-artifact@v8
213206
with:
214207
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.AUTOMATED_TESTS_ARCHITECTURE }})'
215208
path: ${{ env.ARTIFACTS_STAGING_DIR }}
@@ -251,7 +244,7 @@ jobs:
251244

252245
# Retry integration tests if first attempt fails
253246
- name: Run interaction tests
254-
uses: nick-fields/retry@v3
247+
uses: nick-fields/retry@v4
255248
with:
256249
timeout_minutes: 15
257250
max_attempts: 2
@@ -265,9 +258,9 @@ jobs:
265258
--report-trx-filename testResults.trx
266259
267260
- if: github.event_name == 'pull_request'
268-
uses: geekyeggo/delete-artifact@v5
261+
uses: geekyeggo/delete-artifact@v6
269262
with:
270-
name: '*'
263+
name: '*'
271264

272265
# - name: Generate markdown from the tests result
273266
# shell: pwsh
@@ -284,7 +277,7 @@ jobs:
284277
# Get-Content $env:AUTOMATED_TESTS_ASSEMBLY_DIR\testResults.md
285278

286279
# - name: Publish tests result
287-
# uses: marocchino/sticky-pull-request-comment@v2
280+
# uses: marocchino/sticky-pull-request-comment@v3
288281
# with:
289282
# header: test-result
290283
# path: '${{ env.AUTOMATED_TESTS_ASSEMBLY_DIR }}\testResults.md'

0 commit comments

Comments
 (0)