-
Notifications
You must be signed in to change notification settings - Fork 172
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
fix(ci): release builds #2219
fix(ci): release builds #2219
Conversation
0112eb4
to
77e5a4e
Compare
@@ -30,6 +30,7 @@ env: | |||
MSRV: "1.75" | |||
SCCACHE_CACHE_SIZE: "50G" | |||
BIN_NAMES: "iroh,iroh-relay,iroh-dns-server" | |||
RELEASE_VERSION: ${{ github.event.inputs.release_version }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given you have a whole script a little lower to set this in several ways I assume this is a leftover of an earlier version and should be removed?
|
||
- name: build release | ||
if: matrix.os == 'windows-latest' | ||
run: cargo build --profile optimized-release --all-features --target ${{ matrix.cargo_targets }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't get why windows gets its own section here, the cargo command is exactly the same as the unix version above?
Add-Content -Path $env:GITHUB_ENV -Value "ASSET=$ASSETS" | ||
|
||
- uses: n0-computer/actions-upload-release-asset@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in general a bit careful about using actions from a branch rather than a tag, which can still be moving like .e.g. v1
. But the repo doesn't seem to have any tags.
## Description Runs the usual release flow, but now also creates a draft release and attaches all binaries to it. Also closes: #2232 Sample: https://github.com/n0-computer/iroh/releases/tag/untagged-b36c22bc1e19cbd75396 ## Breaking Changes <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [ ] Self-review. - [ ] Documentation updates if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
Description
Runs the usual release flow, but now also creates a draft release and attaches all binaries to it.
Also closes: #2232
Sample: https://github.com/n0-computer/iroh/releases/tag/untagged-b36c22bc1e19cbd75396
Breaking Changes
Notes & open questions
Change checklist