You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
create-unitypackage
v1.1.1
Create unitypackage file without Unity Editor Installation.
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.
package-path
- Output unitypackage path. This should end with .unitypackage.include-files
- A file path which includes .meta files&directories. Each line of this file should ends with .meta file extension. Do not forget about directories.
project-folder
- Unity project folder. Default Value => "./"
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
The scripts and documentation in this project are released under the MIT License