Run actions on all push and pull-requests
This commit is contained in:
parent
7519a9cbdf
commit
338d649e66
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user