From 611d8d5513669f9425b6512e0078ad38c786121b Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Wed, 10 Jun 2020 17:50:08 +0900 Subject: [PATCH] chore: filter build-unity to be run on Cysharp only --- .github/workflows/build-debug.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 02f3eca..5e8bf23 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -26,9 +26,10 @@ jobs: - run: dotnet test -c Debug ./src/UniTask.NetCoreTests/UniTask.NetCoreTests.csproj build-unity: + if: "(github.event == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp')" strategy: matrix: - unity: ['2019.3.9f1', '2020.1.0b5'] + unity: ["2019.3.9f1", "2020.1.0b5"] include: - unity: 2019.3.9f1 license: UNITY_2019_3 @@ -66,8 +67,8 @@ jobs: run: /opt/Unity/Editor/Unity -quit -batchmode -nographics -silent-crashes -logFile -projectPath . -executeMethod PackageExporter.Export working-directory: src/UniTask - # Store artifacts. + # Store artifacts. - uses: actions/upload-artifact@v2 with: name: UniTask.unitypackage.zip - path: ./src/UniTask/*.unitypackage \ No newline at end of file + path: ./src/UniTask/*.unitypackage