Unity package example with Github Packages
- https://github.com/settings/tokens
read:packagesis only required
[npmAuth."https://npm.pkg.github.com/@tsgcpp"]
token = "<ACCESS TOKEN>"
alwaysAuth = true
- Add "scopedRegistries" and the package name to
Packages/manifest.jsonin Unity Project- You have only to add
com.tsgcpp.unitygithubpackageexample.integration
- You have only to add
{
"scopedRegistries": [
{
"name": "tsgcpp public",
"url": "https://npm.pkg.github.com/@tsgcpp",
"scopes": [
"com.tsgcpp"
]
}
],
"dependencies": {
"com.tsgcpp.unitygithubpackageexample.integration": "1.2.3",
...
}
}