From f113a25c22f2e110879606cc8c0cb058c6c74efe Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Fri, 25 Apr 2025 17:58:41 -0400 Subject: [PATCH] Update to `windows-2025` image and drop `install-winget` --- .github/workflows/ci-pipeline.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index c0943f5cca..fe0b463dce 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -540,7 +540,7 @@ jobs: configuration: ["Debug", "Release"] env: TGS_TELEMETRY_KEY_FILE: C:/tgs_telemetry_key.txt - runs-on: windows-latest + runs-on: windows-2025 steps: - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -610,7 +610,7 @@ jobs: configuration: ["Debug", "Release"] env: TGS_TELEMETRY_KEY_FILE: C:/tgs_telemetry_key.txt - runs-on: windows-latest + runs-on: windows-2025 steps: - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -1449,16 +1449,11 @@ jobs: build-msi: name: Build Windows Installer .exe - runs-on: windows-latest + runs-on: windows-2025 needs: start-gate env: TGS_TELEMETRY_KEY_FILE: C:/tgs_telemetry_key.txt steps: - - name: Install winget - uses: Cyberboss/install-winget@v1 - with: - GITHUB_TOKEN: ${{ secrets.DEV_PUSH_TOKEN }} - - name: Setup dotnet uses: actions/setup-dotnet@v4 with: @@ -1682,7 +1677,7 @@ jobs: deploy-rest: name: Deploy REST API needs: deployment-gate - runs-on: windows-latest + runs-on: windows-2025 permissions: id-token: write attestations: write @@ -1763,7 +1758,7 @@ jobs: deploy-gql: name: Deploy GraphQL API needs: deployment-gate - runs-on: windows-latest + runs-on: windows-2025 permissions: id-token: write attestations: write @@ -1851,7 +1846,7 @@ jobs: deploy-dm: name: Deploy DreamMaker API needs: deployment-gate - runs-on: windows-latest + runs-on: windows-2025 permissions: id-token: write attestations: write @@ -2021,7 +2016,7 @@ jobs: deploy-tgs: name: Deploy TGS needs: [deploy-dm, deploy-rest, deploy-gql, deployment-gate] - runs-on: windows-latest + runs-on: windows-2025 if: (!(cancelled() || failure())) && github.event.ref == 'refs/heads/master' && contains(github.event.head_commit.message, '[TGSDeploy]') && needs.deployment-gate.result == 'success' env: TGS_TELEMETRY_KEY_FILE: C:/tgs_telemetry_key.txt @@ -2438,7 +2433,7 @@ jobs: name: Deploy TGS (winget) needs: deploy-tgs if: (!(cancelled() || failure())) && needs.deploy-tgs.result == 'success' - runs-on: windows-latest + runs-on: windows-2025 steps: - name: Setup dotnet uses: actions/setup-dotnet@v4 @@ -2446,11 +2441,6 @@ jobs: dotnet-version: ${{ env.TGS_DOTNET_VERSION }}.0.x dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }} - - name: Install winget - uses: Cyberboss/install-winget@v1 - with: - GITHUB_TOKEN: ${{ secrets.DEV_PUSH_TOKEN }} - - name: Install wingetcreate run: winget install wingetcreate --version 1.2.8.0 --disable-interactivity --accept-source-agreements # Pinned due to breaking every other version