Skip to content

A GitHub Action that create unitypackage file without Unity Editor Installation.

License

Notifications You must be signed in to change notification settings

pCYSl5EDgo/create-unitypackage

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-unitypackage

Create unitypackage file without Unity Editor Installation.

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Required Inputs

  • package-path - Output unitypackage path relative from working-folder. This should end with .unitypackage.
  • include-files - A file path which includes .meta files&directories relative from working-folder. Each line of this file should ends with .meta file extension. Do not forget about directories.

Not Required Inputs

  • project-folder - Unity project folder relative from working-folder. Default Value => "./"
  • working-folder - This action changes directory at first step. All other input values are then read at working-folder. Default Value => "./"

Example workflow

name: Create Unity Package

on: push

jobs:
  echo:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: |
        echo "Assets/Voiceer.meta" > metaList
        find Assets/Voiceer/ -name \*.meta >> metaList

    - run: mkdir a

    - uses: pCYSl5EDgo/create-unitypackage@master
      with:
        package-path: 'a/output.unitypackage'
        include-files: metaList
    - uses: actions/upload-artifact@master
      with:
        path: a
        name: package

License

The scripts and documentation in this project are released under the MIT License

About

A GitHub Action that create unitypackage file without Unity Editor Installation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published