forked from Conjure-Tools/unity-runner
GitHub: idnt know how i missed that
This commit is contained in:
parent
3cf8dc1b5c
commit
9c3596f715
8
.github/workflows/create-image.yaml
vendored
8
.github/workflows/create-image.yaml
vendored
@ -38,15 +38,15 @@ jobs:
|
|||||||
- name: Get Unity Version
|
- name: Get Unity Version
|
||||||
id: unity-version
|
id: unity-version
|
||||||
run: |
|
run: |
|
||||||
UNITY_VERSION=$(grep ${{ matrix.platform }} versions.txt | cut -d' ' -f2)
|
VERSION=$(head -n 1 versions.txt)
|
||||||
echo "UNITY_VERSION=$UNITY_VERSION" >> $GITHUB_OUTPUT
|
echo "UNITY_VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
echo "Unity version for ${{ matrix.platform }}: $UNITY_VERSION"
|
echo "Unity Version: $VERSION"
|
||||||
|
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
run: .gitea/workflows/scripts/build-image.sh
|
run: .gitea/workflows/scripts/build-image.sh
|
||||||
id: build-image
|
id: build-image
|
||||||
env:
|
env:
|
||||||
UNITY_VERSION: ${{ steps.unity-version.outputs.UNITY_VERSION }}
|
UNITY_VERSION: ${{ env.UNITY_VERSION }}
|
||||||
UNITY_PLATFORM: ${{ matrix.platform }}
|
UNITY_PLATFORM: ${{ matrix.platform }}
|
||||||
IMAGE: "${{ vars.DOCKERHUB_USERNAME }}/unity-runner"
|
IMAGE: "${{ vars.DOCKERHUB_USERNAME }}/unity-runner"
|
||||||
GAMECI_VERSION: ${{ env.GAMECI_VERSION }}
|
GAMECI_VERSION: ${{ env.GAMECI_VERSION }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user