Skip to content

Instantly share code, notes, and snippets.

@johnou
Created October 6, 2025 09:32
Show Gist options
  • Select an option

  • Save johnou/fb343ea09b01eab489c07bae1a30f4d8 to your computer and use it in GitHub Desktop.

Select an option

Save johnou/fb343ea09b01eab489c07bae1a30f4d8 to your computer and use it in GitHub Desktop.
.game-ci/steps /10-upm-pre.yml
- name: write-upm-config
hook: before
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
shell: powershell
commands: |
$ErrorActionPreference = 'Stop'
$cfg = @'
cacheRoot = "C:\\github\\workspace\\.upm"
'@
$path = Join-Path $env:GITHUB_WORKSPACE '.upmconfig.toml'
Set-Content -Path $path -Value $cfg -Encoding UTF8
Write-Host "Wrote $path"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment