added some logging

This commit is contained in:
Lachee 2025-05-07 14:24:09 +10:00
parent 73e3df6334
commit 050aa4ed34
2 changed files with 14 additions and 5 deletions

View File

@ -21,7 +21,10 @@ jobs:
matrix:
platform:
- webgl
- android
# - android
# - mac-mono
# - windows-mono
# - windows-il2cpp
steps:
- uses: actions/checkout@v4
@ -39,6 +42,7 @@ jobs:
- name: Build Docker Image
run: ./scripts/build-image.sh
id: build-image
env:
UNITY_VERSION: ${{ env.UNITY_VERSION }}
UNITY_PLATFORM: ${{ matrix.platform }}
@ -46,4 +50,8 @@ jobs:
GAMECI_VERSION: ${{ env.GAMECI_VERSION }}
- name: Push Docker Image
run: echo "TODO"
run: |
echo "Pushing Docker Image..."
echo "Image Name: ${{ steps.build-image.outputs.IMAGE_NAME }}"
echo "Tag: ${{ steps.build-image.outputs.TAG }}"
echo "Image: ${{ steps.build-image.outputs.IMAGE }}"

View File

@ -68,7 +68,8 @@ if [ $? -ne 0 ]; then
fi
# Export IMAGE_NAME and TAG for GitHub Actions
if [ -n "$GITHUB_ENV" ]; then
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
echo "TAG=${TAG}" >> $GITHUB_ENV
if [ -n "$GITHUB_OUTPUT" ]; then
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_OUTPUT
echo "TAG=${TAG}" >> $GITHUB_OUTPUT
echo "IMAGE=${IMAGE_NAME}:${TAG}" >> $GITHUB_OUTPUT
fi