forked from Conjure-Tools/unity-runner
GitHubL switched to using Outputs
This commit is contained in:
parent
d96d96af6e
commit
3cf8dc1b5c
5
.github/workflows/create-image.yaml
vendored
5
.github/workflows/create-image.yaml
vendored
@ -36,16 +36,17 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Get Unity Version
|
- name: Get Unity Version
|
||||||
|
id: unity-version
|
||||||
run: |
|
run: |
|
||||||
UNITY_VERSION=$(grep ${{ matrix.platform }} versions.txt | cut -d' ' -f2)
|
UNITY_VERSION=$(grep ${{ matrix.platform }} versions.txt | cut -d' ' -f2)
|
||||||
echo "UNITY_VERSION=$UNITY_VERSION" >> $GITHUB_ENV
|
echo "UNITY_VERSION=$UNITY_VERSION" >> $GITHUB_OUTPUT
|
||||||
echo "Unity version for ${{ matrix.platform }}: $UNITY_VERSION"
|
echo "Unity version for ${{ matrix.platform }}: $UNITY_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: ${{ env.UNITY_VERSION }}
|
UNITY_VERSION: ${{ steps.unity-version.outputs.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