GitHub Action
create-unitypackage
v1.2.3
Latest version
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 relative fromworking-folder
. This should end with .unitypackage.include-files
- A file path which includes .meta files&directories relative fromworking-folder
. Each line of this file should ends with .meta file extension. Do not forget about directories.
project-folder
- Unity project folder relative fromworking-folder
. Default Value => "./"working-folder
- This action changes directory at first step. All other input values are then read atworking-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