diff --git a/.github/workflows/cd-preview.yml b/.github/workflows/cd-preview.yml index a9e0403a38c0..df6e9d543a67 100644 --- a/.github/workflows/cd-preview.yml +++ b/.github/workflows/cd-preview.yml @@ -43,11 +43,11 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v2 - name: Setup NuGet - uses: NuGet/setup-nuget@v1.1.1 + uses: NuGet/setup-nuget@v2 - name: Setup .NET 8 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -114,7 +114,7 @@ jobs: $fileContent | Set-Content $localFilePath - name: Sign Files with Azure Trusted Signing - uses: azure/trusted-signing-action@v0.3.16 + uses: azure/trusted-signing-action@v0.3.20 with: azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} @@ -131,12 +131,12 @@ jobs: timestamp-digest: SHA256 - name: Login to Azure - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Upload to Azure blob storage - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | 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: run: 'az logout' - name: Upload the packages to GitHub Actions - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})' path: ${{ env.ARTIFACTS_STAGING_DIR }} diff --git a/.github/workflows/cd-stable.yml b/.github/workflows/cd-stable.yml index 475066b28df0..bc27fd356dac 100644 --- a/.github/workflows/cd-stable.yml +++ b/.github/workflows/cd-stable.yml @@ -43,11 +43,11 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v2 - name: Setup NuGet - uses: NuGet/setup-nuget@v1.1.1 + uses: NuGet/setup-nuget@v2 - name: Setup .NET 8 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -114,7 +114,7 @@ jobs: $fileContent | Set-Content $localFilePath - name: Sign Files with Azure Trusted Signing - uses: azure/trusted-signing-action@v0.3.16 + uses: azure/trusted-signing-action@v0.3.20 with: azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }} azure-client-id: ${{ secrets.AZURE_CLIENT_ID }} @@ -131,12 +131,12 @@ jobs: timestamp-digest: SHA256 - name: Login to Azure - uses: azure/login@v1 + uses: azure/login@v2 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Upload to Azure blob storage - uses: azure/powershell@v1 + uses: azure/powershell@v2 with: inlineScript: | 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: run: 'az logout' - name: Upload the packages to GitHub Actions - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.PLATFORM }})' path: ${{ env.ARTIFACTS_STAGING_DIR }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3c6b3fb697c..fbf366d9f1f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,16 +99,13 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@v3 - + uses: actions/checkout@v4 - name: Setup MSBuild - uses: microsoft/setup-msbuild@v1 - + uses: microsoft/setup-msbuild@v2 - name: Setup NuGet - uses: NuGet/setup-nuget@v1.1.1 - + uses: NuGet/setup-nuget@v2 - name: Setup .NET 8 - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: '8.0.x' @@ -178,7 +175,7 @@ jobs: - if: env.ARCHITECTURE == env.AUTOMATED_TESTS_ARCHITECTURE && env.CONFIGURATION == env.AUTOMATED_TESTS_CONFIGURATION name: Upload the packages to the Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.ARCHITECTURE }})' path: ${{ env.ARTIFACTS_STAGING_DIR }} @@ -207,10 +204,10 @@ jobs: run: exit 1 - name: Checkout the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download the packages from the Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'Appx Packages (${{ env.CONFIGURATION }}, ${{ env.AUTOMATED_TESTS_ARCHITECTURE }})' path: ${{ env.ARTIFACTS_STAGING_DIR }}