From 338d649e6626a53e1601e686b2484a784245ac63 Mon Sep 17 00:00:00 2001 From: Gabriel Le Breton Date: Fri, 9 Oct 2020 09:48:14 -0400 Subject: [PATCH] Run actions on all push and pull-requests --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bdf895a..68a55f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,8 +1,6 @@ name: Actions 😎 -on: - pull_request: {} - push: { branches: [main] } +on: [push, pull_request] env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} @@ -64,13 +62,13 @@ jobs: # with: # name: Test results (all modes) # path: ${{ steps.testRunner.outputs.artifactsPath }} - - uses: webbertakken/unity-builder@master + - uses: webbertakken/unity-builder@${{ matrix.unityBuilderVersion }} with: projectPath: ${{ matrix.projectPath }} unityVersion: ${{ matrix.unityVersion }} targetPlatform: ${{ matrix.targetPlatform }} customParameters: '-nographics' - - uses: actions/upload-artifact@${{ matrix.unityBuilderVersion }} + - uses: actions/upload-artifact@v1 with: name: Build path: build