name: Prepare Windows packaging environment description: Reuse the user .NET installation and pinned packaging tools independently of Flutter. runs: using: composite steps: - name: Configure user .NET installation shell: pwsh run: | $ErrorActionPreference = 'Stop' $directory = Join-Path $env:LOCALAPPDATA 'Cutdex/ci-tools/dotnet' [IO.Directory]::CreateDirectory($directory) | Out-Null "DOTNET_INSTALL_DIR=$directory" | Out-File -LiteralPath $env:GITHUB_ENV -Encoding utf8 -Append "DOTNET_ROOT=$directory" | Out-File -LiteralPath $env:GITHUB_ENV -Encoding utf8 -Append - name: Set up .NET SDK uses: https://github.com/actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 with: dotnet-version: '10.0.x' - name: Prepare pinned packaging tools shell: pwsh run: ./tool/gitea/prepare-package-tools.ps1