Skip to content

[build] Run binary-builds on PRs #1969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 26, 2025
Merged

[build] Run binary-builds on PRs #1969

merged 3 commits into from
Jun 26, 2025

Conversation

malice00
Copy link
Collaborator

Configured the binary-builds workflow to run on PRs as well.

Signed-off-by: Roland Asmann <roland.asmann@gmail.com>
@malice00 malice00 requested a review from prabhu as a code owner June 26, 2025 11:10
Signed-off-by: Roland Asmann <roland.asmann@gmail.com>
@prabhu
Copy link
Collaborator

prabhu commented Jun 26, 2025

This bash script needs some enhancement for PR.

@malice00 malice00 force-pushed the workflows/binary_on_pr branch from 61be9e6 to ba1358a Compare June 26, 2025 11:24
Signed-off-by: Roland Asmann <roland.asmann@gmail.com>
@malice00 malice00 force-pushed the workflows/binary_on_pr branch from ba1358a to 4512348 Compare June 26, 2025 11:35
@malice00 malice00 merged commit ddbd58d into master Jun 26, 2025
12 checks passed
@malice00 malice00 deleted the workflows/binary_on_pr branch June 26, 2025 11:41
run: |
case "$REF" in
refs/heads/*) REF_NAME="${REF#refs/heads/}" ;;
refs/tags/*) REF_NAME="${REF#refs/tags/}" ;;
refs/pull/*) REF_NAME="${REF#refs/pull/}" ;;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ChatGPT says we can simplify this to a one-liner.

REF_NAME=${REF#refs/*/}
echo "Cloning $REF as $REF_NAME"

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