chore: use .event path

pull/89/head
Ikiru Yoshizaki 2020-06-10 18:04:27 +09:00
parent 75b18563e2
commit 6c1a7d5d8e
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
run: echo "$CONTEXT" run: echo "$CONTEXT"
env: env:
CONTEXT: ${{ toJson(github) }} CONTEXT: ${{ toJson(github) }}
- run: echo "${{ github.pull_request.head.label }}" - run: echo "${{ github.event.pull_request.head.label }}"
build-dotnet: build-dotnet:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -36,7 +36,7 @@ jobs:
- run: dotnet test -c Debug ./src/UniTask.NetCoreTests/UniTask.NetCoreTests.csproj - run: dotnet test -c Debug ./src/UniTask.NetCoreTests/UniTask.NetCoreTests.csproj
build-unity: build-unity:
if: "(github.event == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.pull_request.head.label, 'Cysharp')" if: "(github.event == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp')"
strategy: strategy:
matrix: matrix:
unity: ["2019.3.9f1", "2020.1.0b5"] unity: ["2019.3.9f1", "2020.1.0b5"]