Skip to content

tsgcpp/UnityGithubPackageExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnityGithubPackageExample

Unity package example with Github Packages

Usage

Example Package Installation

Create .upmconfig.toml

Create an access token for GitHub Packages

Add the access token to .upmconfig.toml

[npmAuth."https://npm.pkg.github.com/@tsgcpp"]
token = "<ACCESS TOKEN>"
alwaysAuth = true

Add the package name to manifest.json

  • Add "scopedRegistries" and the package name to Packages/manifest.json in Unity Project
    • You have only to add com.tsgcpp.unitygithubpackageexample.integration
{
  "scopedRegistries": [
    {
      "name": "tsgcpp public",
      "url": "https://npm.pkg.github.com/@tsgcpp",
      "scopes": [
        "com.tsgcpp"
      ]
    }
  ],
  "dependencies": {
    "com.tsgcpp.unitygithubpackageexample.integration": "1.2.3",
    ...
  }
}

Blogs

About

Unity package example with Github Packages

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages