Skip to content

Commit

Permalink
authenticate license
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 15, 2024
1 parent c765ae8 commit 630a4b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/actions/build-assetbundles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ inputs:
assetbundle-dir:
description: Destination for built assetbundles

unity-license:
description: Your Unity License file contents

runs:
using: composite
steps:
Expand All @@ -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: |
Expand Down

0 comments on commit 630a4b7

Please sign in to comment.