game-ci / game-ci/unity-builder

importing a package before building

Open
#313 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.1k
Forks
313
Avg merge
1h 39m
Merged PRs (30d)
1

Description

what i'm trying to achieve is the ability to import external package before building the unity project.

tried to do this (without sucess):
```
- name: Import SDK
uses: game-ci/unity-test-runner@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
customParameters: -quit -batchmode -importPackage mypackage.unitypackage
```

can one get the unity executable path to run some unity commands such as:
```
- name: Import SDK
run: /opt/unity/Editor/Unity -importPackage mypackage.unitypackage
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.