From cfbe5a1899abaecafd3d2dff0c46a4abb4438bdd Mon Sep 17 00:00:00 2001 From: Andrew Kahr <22359829+AndrewKahr@users.noreply.github.com> Date: Mon, 6 Nov 2023 22:27:58 -0800 Subject: [PATCH] Don't build ubuntu on PR as secrets are now needed. Update PR template to request an example successful run. Remove 32bit windows build. Build on push to any branch --- .github/pull_request_template.md | 4 ++++ .github/workflows/build-tests-mac.yml | 2 -- .github/workflows/build-tests-ubuntu.yml | 8 +++----- .github/workflows/build-tests-windows.yml | 3 --- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 9eb8d367..9396d6cb 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,6 +10,10 @@ - ... +#### Successful Workflow Run Link + +- ... + #### Checklist diff --git a/.github/workflows/build-tests-mac.yml b/.github/workflows/build-tests-mac.yml index 860fb1ea..4c8e119f 100644 --- a/.github/workflows/build-tests-mac.yml +++ b/.github/workflows/build-tests-mac.yml @@ -3,8 +3,6 @@ name: Builds - MacOS on: workflow_dispatch: push: - branches: - - main concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/build-tests-ubuntu.yml b/.github/workflows/build-tests-ubuntu.yml index 60ddfdcf..6ee42da9 100644 --- a/.github/workflows/build-tests-ubuntu.yml +++ b/.github/workflows/build-tests-ubuntu.yml @@ -3,11 +3,6 @@ name: Builds - Ubuntu on: workflow_dispatch: push: - branches: - - main - pull_request: - paths-ignore: - - '.github/**' concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -85,6 +80,9 @@ jobs: # Build # ########################### - uses: ./ + env: + UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} + UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} with: projectPath: ${{ matrix.projectPath }} unityVersion: ${{ matrix.unityVersion }} diff --git a/.github/workflows/build-tests-windows.yml b/.github/workflows/build-tests-windows.yml index 8c0e6e3c..977c813d 100644 --- a/.github/workflows/build-tests-windows.yml +++ b/.github/workflows/build-tests-windows.yml @@ -3,8 +3,6 @@ name: Builds - Windows on: workflow_dispatch: push: - branches: - - main concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -26,7 +24,6 @@ jobs: targetPlatform: - Android # Build an Android apk. - StandaloneWindows64 # Build a Windows 64-bit standalone. - - StandaloneWindows # Build a Windows 32-bit standalone. - WSAPlayer # Build a UWP App - tvOS # Build an Apple TV XCode project