forked from Conjure-Tools/unity-runner
tweaked build script to be able to specify unity version
This commit is contained in:
parent
3f60a312ec
commit
d80c2374f9
@ -31,6 +31,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOCKER_REGISTRY: docker.lakes.house/
|
||||
UNITY_VERSION: ${{ github.event.inputs.unity_version }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
@ -55,6 +56,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Get Unity Version
|
||||
if: ${{ github.event.inputs.unity_version == '' }}
|
||||
run: |
|
||||
VERSION=$(head -n 1 versions.txt)
|
||||
echo "UNITY_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user