Unverified Commit 5988244c authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

ci: Only run upload-adapter-test-results on release (#100595)

I think shis shouldn't run on manual workflow dispatch (and it fails
anyway)?
Not sure if `github.event_name == 'release'` is what we want though. Are
there any cases where it should still run?

e.g. https://github.com/vercel/next.js/actions/runs/39792293454
parent 3829047f
...@@ -347,6 +347,7 @@ jobs: ...@@ -347,6 +347,7 @@ jobs:
if: >- if: >-
${{ ${{
always() && always() &&
github.event_name == 'release' &&
github.event.inputs.deployScriptPath == '' && github.event.inputs.deployScriptPath == '' &&
github.repository_owner == 'vercel' && github.repository_owner == 'vercel' &&
!startsWith(needs.setup.outputs.next-version, 'http') !startsWith(needs.setup.outputs.next-version, 'http')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment