KEMBAR78
CI/CD: use runson.display for publishing test artifacts instead of runson.name by visheshruparelia · Pull Request #1157 · async-profiler/async-profiler · GitHub
Skip to content

Conversation

@visheshruparelia
Copy link
Contributor

Description

After the latest commit merge, the "publish" step fails for nightly build. Ref: #1154 (comment)

Root cause: While downloading artifacts in the workflow, we filter the test files via *.* regex. In the above PR, the name of the test artifacts uploaded contained 24.04 in the string (since it uses display.runson and we are forced to use 24.04 there). Thus, these test logs were not getting filtered and as a result, the Javascript which only expected files, also started seeing directories (of test artifacts) and thus the failure.

This PR uses runson.display instead of runson.name to circumvent the issue.

Related issues

#1154 (comment)

Motivation and context

In the PR #1154 we moved to GH hosted runners. After the merge, the publish step fails as noted in the link above.
This PR aims to fix that.

How has this been tested?

A successful run was tested here (in my fork branch): https://github.com/visheshruparelia/async-profiler/actions/runs/13634688113/job/38110523750


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@visheshruparelia visheshruparelia marked this pull request as ready for review March 3, 2025 15:45
@apangin apangin merged commit e27198e into async-profiler:master Mar 3, 2025
10 checks passed
krk pushed a commit to krk/async-profiler that referenced this pull request Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants