Add data to SimsObjectAsset and start simulation ticking #584
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
workflow_dispatch: | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'safe to test') | |
steps: | |
- name: Checkout repository | |
if: ${{ github.event_name != 'pull_request_target' }} | |
uses: actions/checkout@v2 | |
- name: Checkout repository (Pull Request Target) | |
if: ${{ github.event_name == 'pull_request_target' }} | |
uses: actions/checkout@v2 | |
with: | |
ref: "refs/pull/${{ github.event.number }}/merge" | |
- uses: actions/cache@v2 | |
with: | |
path: ./Library | |
key: Library | |
- uses: game-ci/unity-test-runner@v2 | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
checkName: Unity Test Results |