Unverified Commit 1e2b02e5 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

ci: relax adapter results upload gate (#92127)

## Summary
- simplify `upload-adapter-test-results` condition to use the effective
Next version value
- run upload when version does not start with `http` (allows `canary`
and release tags)
- keep existing owner and deploy-script safeguards

## Why
- release runs can have `target_commitish` as a commit SHA, which caused
valid canary release runs to skip upload
parent 0cb1547d
...@@ -254,9 +254,9 @@ jobs: ...@@ -254,9 +254,9 @@ jobs:
always() && always() &&
github.event.inputs.deployScriptPath == '' && github.event.inputs.deployScriptPath == '' &&
github.repository_owner == 'vercel' && github.repository_owner == 'vercel' &&
( !startsWith(
(github.event_name == 'workflow_dispatch' && github.ref_name == 'canary') || github.event.inputs.nextVersion || github.event.release.tag_name || 'canary',
(github.event_name == 'release' && github.event.release.target_commitish == 'canary') 'http'
) )
}} }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
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