Skip to content

Build toolchain on GitHub Actions#31

Merged
zwass merged 20 commits intomasterfrom
zwass-gh-actions
Feb 11, 2026
Merged

Build toolchain on GitHub Actions#31
zwass merged 20 commits intomasterfrom
zwass-gh-actions

Conversation

@zwass
Copy link
Copy Markdown
Member

@zwass zwass commented Jan 15, 2026

No description provided.

directionless
directionless previously approved these changes Jan 16, 2026
Comment thread .github/workflows/build.yml Outdated
branches: [ "master" ]
tags: [ "*" ]
pull_request:
branches: [ "master" ]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
branches: [ "master" ]
branches: [ "master", "main"]

We should rename this to main while you're tinkering

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I'd prefer to address that separately, and through all the osquery repos when we do it.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

reasonable, though I'd still include main here, since then this job will be ready. (And it seems unlikely to be an issue)

Comment thread .github/workflows/build.yml Outdated
if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
echo "VERSION=${GITHUB_REF_NAME}-$(uname -m)" >> "$GITHUB_ENV"
else
echo "VERSION=${GITHUB_SHA}-$(uname -m)" >> "$GITHUB_ENV"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems fine, but will also be a lot harder to understand than git describe --tags --always --dirty

Actually... I think you can ditch the if statement and just use that directly.

@zwass zwass requested a review from directionless January 29, 2026 16:56
directionless
directionless previously approved these changes Jan 31, 2026
@zwass
Copy link
Copy Markdown
Member Author

zwass commented Feb 3, 2026

@directionless I added main for both pull request and push.

Copy link
Copy Markdown
Member

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Let's try!

@zwass zwass merged commit 2909a2e into master Feb 11, 2026
3 checks passed
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