diff --git a/.github/actions/build-assetbundles/action.yml b/.github/actions/build-assetbundles/action.yml index c19a801..e4e945e 100644 --- a/.github/actions/build-assetbundles/action.yml +++ b/.github/actions/build-assetbundles/action.yml @@ -13,6 +13,9 @@ inputs: assetbundle-dir: description: Destination for built assetbundles + unity-license: + description: Your Unity License file contents + runs: using: composite steps: @@ -30,6 +33,14 @@ runs: --volume ${{ github.workspace }}:/github/workspace build-assetbundle + - name: Authenticate Unity License + shell: bash + run: | + echo $UNITY_ULF >> 'unity_license.ulf' + docker exec build-assetbundle unity-editor -batchmode -manualLicenseFile unity_license.ulf -logfile + env: + UNITY_ULF: ${{ inputs.unity-license }} + - name: Copy editor tools into project shell: bash run: |