-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can't publish packages in workspace #291
Comments
https://github.com/wangfenjin/duckdb-rs/pull/21/files this is my code change |
@wangfenjin Sounds strange because this action awaits when published package will be available on registry and also triggers Lines 59 to 60 in a8c8cba
|
yes, but acctually I had tried two times, still not succeed so I create this issue. LOL, is it because the cargo crate server cache inconsistent? |
@katyo maybe after cargo update, we can |
In order to test this, I always need to bump the version because after the first crate published, I can't publish the version again. So I'm thinking should we add settings to check if this version is already published and we can skip it, that way we don't need to bump the version every time... |
Another benefit is it also enable us only update one of the packages in the workspace |
Such behavior already implemented by default (see description in README.md). |
@wangfenjin Seems this problem related to cargo cache. |
https://github.com/wangfenjin/duckdb-rs/runs/3514142038?check_suite_focus=true are you sure it’s the case? I rerun the workflow but still failed |
@wangfenjin Could you test branch |
Hi. Thanks for your work. I just tried to use this action on a workspace, but it seems to fail to select the correct version. Here we see "Package 'provola-terminalreporter' published successfully" but after that, the next crate which depends on it fails.
|
(a workaround for katyo/publish-crates#291 )
(a workaround for katyo/publish-crates#291 )
Got the same error:
@katyo Do you happen to know what caused this? |
Anyone have this issue can also try my fork |
Update: The error seems related to the crate's version in my case. I forgot to update the Cargo.toml and got this error. Once I updated the version the Action started working again. |
In the code I update both libduckdb-sys and duckdb, but the published version can't be find
https://github.com/wangfenjin/duckdb-rs/runs/3512742679?check_suite_focus=true
The text was updated successfully, but these errors were encountered: