From 99b3e94179e04f5f009f9a913b0023c6ba906993 Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Wed, 27 Mar 2024 16:47:11 +0900 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E5=AE=9A=E3=83=96=E3=83=A9=E3=83=B3?= =?UTF-8?q?=E3=83=81=E3=81=A7=E5=8B=95=E4=BD=9C=E3=81=95=E3=81=9B=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/create-unitypackage.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-unitypackage.yml b/.github/workflows/create-unitypackage.yml index 6a135dec00..f4ed9ddd3c 100644 --- a/.github/workflows/create-unitypackage.yml +++ b/.github/workflows/create-unitypackage.yml @@ -2,6 +2,9 @@ name: Create UnityPackage on: workflow_dispatch: + push: + branches: + - workflow-wip env: UNITY_PROJECT_PATH: . @@ -24,9 +27,10 @@ jobs: needs: checkout runs-on: [self-hosted, Windows, X64, Unity] outputs: - unity-editor-executable: ${{ steps.unity-editor-installation-check.outputs.unity-editor-executable }} + unity-editor-executable: ${{ steps.check-unity-editor-installation.outputs.unity-editor-executable }} steps: - - id: get-project-unity-version + - name: Get Project Unity Version + id: get-project-unity-version run: | PROJECT_VERSION_PATH="${UNITY_PROJECT_PATH}/ProjectSettings/ProjectVersion.txt" @@ -34,7 +38,8 @@ jobs: UNITY_VERSION=`echo ${UNITY_VERSION_RAW} | sed -E "s/^(\S+)\s+\((\S+)\)$/\1/"` UNITY_CHANGESET=`echo ${UNITY_VERSION_RAW} | sed -E "s/^(\S+)\s+\((\S+)\)$/\2/"` - - id: unity-editor-installation-check + - name: Check Unity Editor Installation + id: check-unity-editor-installation run: | UNITY_HUB="C:\Program Files\Unity Hub\Unity Hub.exe" @@ -60,7 +65,8 @@ jobs: needs: detect-unity-version runs-on: [self-hosted, Windows, X64, Unity] steps: - - id: run + - name: Run Editor Tests + id: run-editor-tests run: | "${{ needs.detect-unity-version.outputs.unity-editor-executable }}" \ -quit \