Skip to content

Commit 8190817

Browse files
authored
GitHub: Update version of some actions (#15790)
1 parent aa05b1a commit 8190817

File tree

3 files changed

+21
-24
lines changed

3 files changed

+21
-24
lines changed

.github/workflows/cd-preview.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
- name: Checkout the repository
4444
uses: actions/checkout@v4
4545
- name: Setup MSBuild
46-
uses: microsoft/setup-msbuild@v1
46+
uses: microsoft/setup-msbuild@v2
4747
- name: Setup NuGet
48-
uses: NuGet/setup-nuget@v1.1.1
48+
uses: NuGet/setup-nuget@v2
4949
- name: Setup .NET 8
50-
uses: actions/setup-dotnet@v3
50+
uses: actions/setup-dotnet@v4
5151
with:
5252
dotnet-version: '8.0.x'
5353

@@ -114,7 +114,7 @@ jobs:
114114
$fileContent | Set-Content $localFilePath
115115
116116
- name: Sign Files with Azure Trusted Signing
117-
uses: azure/trusted-signing-action@v0.3.16
117+
uses: azure/trusted-signing-action@v0.3.20
118118
with:
119119
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
120120
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -131,12 +131,12 @@ jobs:
131131
timestamp-digest: SHA256
132132

133133
- name: Login to Azure
134-
uses: azure/login@v1
134+
uses: azure/login@v2
135135
with:
136136
creds: ${{ secrets.AZURE_CREDENTIALS }}
137137

138138
- name: Upload to Azure blob storage
139-
uses: azure/powershell@v1
139+
uses: azure/powershell@v2
140140
with:
141141
inlineScript: |
142142
az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "preview" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
@@ -146,7 +146,7 @@ jobs:
146146
run: 'az logout'
147147

148148
- name: Upload the packages to GitHub Actions
149-
uses: actions/upload-artifact@v3
149+
uses: actions/upload-artifact@v4
150150
with:
151151
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
152152
path: ${{ env.ARTIFACTS_STAGING_DIR }}

.github/workflows/cd-stable.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
- name: Checkout the repository
4444
uses: actions/checkout@v4
4545
- name: Setup MSBuild
46-
uses: microsoft/setup-msbuild@v1
46+
uses: microsoft/setup-msbuild@v2
4747
- name: Setup NuGet
48-
uses: NuGet/setup-nuget@v1.1.1
48+
uses: NuGet/setup-nuget@v2
4949
- name: Setup .NET 8
50-
uses: actions/setup-dotnet@v3
50+
uses: actions/setup-dotnet@v4
5151
with:
5252
dotnet-version: '8.0.x'
5353

@@ -114,7 +114,7 @@ jobs:
114114
$fileContent | Set-Content $localFilePath
115115
116116
- name: Sign Files with Azure Trusted Signing
117-
uses: azure/trusted-signing-action@v0.3.16
117+
uses: azure/trusted-signing-action@v0.3.20
118118
with:
119119
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
120120
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -131,12 +131,12 @@ jobs:
131131
timestamp-digest: SHA256
132132

133133
- name: Login to Azure
134-
uses: azure/login@v1
134+
uses: azure/login@v2
135135
with:
136136
creds: ${{ secrets.AZURE_CREDENTIALS }}
137137

138138
- name: Upload to Azure blob storage
139-
uses: azure/powershell@v1
139+
uses: azure/powershell@v2
140140
with:
141141
inlineScript: |
142142
az storage blob upload-batch --account-name "filescommunity" --destination "files" --destination-path "stable" --source ${{ env.APPX_PACKAGE_DIR }} --overwrite true
@@ -146,7 +146,7 @@ jobs:
146146
run: 'az logout'
147147

148148
- name: Upload the packages to GitHub Actions
149-
uses: actions/upload-artifact@v3
149+
uses: actions/upload-artifact@v4
150150
with:
151151
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})'
152152
path: ${{ env.ARTIFACTS_STAGING_DIR }}

.github/workflows/ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,13 @@ jobs:
9999
steps:
100100

101101
- name: Checkout the repository
102-
uses: actions/checkout@v3
103-
102+
uses: actions/checkout@v4
104103
- name: Setup MSBuild
105-
uses: microsoft/setup-msbuild@v1
106-
104+
uses: microsoft/setup-msbuild@v2
107105
- name: Setup NuGet
108-
uses: NuGet/setup-nuget@v1.1.1
109-
106+
uses: NuGet/setup-nuget@v2
110107
- name: Setup .NET 8
111-
uses: actions/setup-dotnet@v3
108+
uses: actions/setup-dotnet@v4
112109
with:
113110
dotnet-version: '8.0.x'
114111

@@ -178,7 +175,7 @@ jobs:
178175
179176
- if: env.ARCHITECTURE == env.AUTOMATED_TESTS_ARCHITECTURE && env.CONFIGURATION == env.AUTOMATED_TESTS_CONFIGURATION
180177
name: Upload the packages to the Artifacts
181-
uses: actions/upload-artifact@v3
178+
uses: actions/upload-artifact@v4
182179
with:
183180
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.ARCHITECTURE }})'
184181
path: ${{ env.ARTIFACTS_STAGING_DIR }}
@@ -207,10 +204,10 @@ jobs:
207204
run: exit 1
208205

209206
- name: Checkout the repository
210-
uses: actions/checkout@v3
207+
uses: actions/checkout@v4
211208

212209
- name: Download the packages from the Artifacts
213-
uses: actions/download-artifact@v3
210+
uses: actions/download-artifact@v4
214211
with:
215212
name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.AUTOMATED_TESTS_ARCHITECTURE }})'
216213
path: ${{ env.ARTIFACTS_STAGING_DIR }}

0 commit comments

Comments
 (0)