mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-11-28 08:08:03 -08:00
ci: skip licensed builds on dependabot runs (#866)
This commit is contained in:
@@ -11,6 +11,10 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
buildForAllPlatformsMacOS:
|
buildForAllPlatformsMacOS:
|
||||||
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
|
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
|
||||||
|
# Dependabot-triggered runs receive no Actions secrets, so the Unity
|
||||||
|
# licence these builds need is absent. Ubuntu builds (embedded licence)
|
||||||
|
# and the Tests job still cover dependency bumps.
|
||||||
|
if: github.actor != 'dependabot[bot]'
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
# Kept as a backstop even after splitting the cache save below into its
|
# Kept as a backstop even after splitting the cache save below into its
|
||||||
# own bounded step: real builds finish in well under 40m, so this only
|
# own bounded step: real builds finish in well under 40m, so this only
|
||||||
|
|||||||
@@ -11,6 +11,10 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
buildForAllPlatformsWindows:
|
buildForAllPlatformsWindows:
|
||||||
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
|
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
|
||||||
|
# Dependabot-triggered runs receive no Actions secrets, so the Unity
|
||||||
|
# licence these builds need is absent. Ubuntu builds (embedded licence)
|
||||||
|
# and the Tests job still cover dependency bumps.
|
||||||
|
if: github.actor != 'dependabot[bot]'
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
# See build-tests-mac.yml's matching comment - a per-step timeout doesn't
|
# See build-tests-mac.yml's matching comment - a per-step timeout doesn't
|
||||||
# bound an action's own implicit post-run cleanup step, only a job-level
|
# bound an action's own implicit post-run cleanup step, only a job-level
|
||||||
|
|||||||
Reference in New Issue
Block a user