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
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
DOCKER_REGISTRY: docker.lakes.house/
|
DOCKER_REGISTRY: docker.lakes.house/
|
||||||
|
UNITY_VERSION: ${{ github.event.inputs.unity_version }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -55,6 +56,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Get Unity Version
|
- name: Get Unity Version
|
||||||
|
if: ${{ github.event.inputs.unity_version == '' }}
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(head -n 1 versions.txt)
|
VERSION=$(head -n 1 versions.txt)
|
||||||
echo "UNITY_VERSION=$VERSION" >> $GITHUB_ENV
|
echo "UNITY_VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user