game-ci / game-ci/unity-builder
UPM config on Windows runners
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 313
- Avg merge
- 1h 39m
- Merged PRs (30d)
- 1
Description
Hello,
According to the documentation, UPM authentication on Ubuntu is configured by creating the upmconfig file under `/home/runner/work/_temp/_github_home`.
In which directory should this file be placed on Windows runners?
I already tried to use `$HOME` and change the Ubuntu example from the documentation as follows:
- name: Create .upmconfig.toml UPM authentication file
env:
npm_token: ${{ secrets.NPM_TOKEN }}
run: |
cd $HOME
echo "[npmAuth.`"https://upm.example.com`"]" > .upmconfig.toml
echo "_auth = `"$Env:npm_token`"" >> .upmconfig.toml
echo "alwaysAuth = true" >> .upmconfig.toml
But this still gives me the message "... failed because it lacks valid authentication credentials" when the package manager tries to resolve the dependencies, whereas on Ubuntu everything works as expected.
Contributor guide
Assessment
This issue has not been assessed yet.