Disable code coverage action on forks (#4948)
This commit is contained in:
Родитель
e0f513f748
Коммит
7f2cbf3fe1
|
@ -22,6 +22,7 @@ jobs:
|
|||
# Build job
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'microsoft/DirectXShaderCompiler'
|
||||
timeout-minutes: 240
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -52,6 +53,7 @@ jobs:
|
|||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'microsoft/DirectXShaderCompiler'
|
||||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
|
|
Загрузка…
Ссылка в новой задаче