-
Notifications
You must be signed in to change notification settings - Fork 7
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
Publish is not running on a push? #75
Comments
I added a comment here: https://github.com/dart-lang/webdev/pull/1993/files#r1117819441, which may help address this. |
@devoncarew I misunderstood the meaning of I tried switching to dev SDK channel correctly this time, but the validation still fails:
Should we be failing on this warning for the lower bound SDK constraint on the package? This release is in preparation for dart 3.0 and needs to be a stable release to be rolled into flutter, which still has a pre-3.0 dart, but we don't want it to be accidentally updated for users before they switch to the right SDK. |
Ok, so from my understanding:
Is that all correct? If so, it sounds like this is a warning that you knowingly want to ignore, but that our CI is failing on. Short term, you should be able to ignore the failure and merge the PR w/ that one red bot. The publishing task (when you tag master w/ the right tag - I assume something like Longer term, we should have a way to configure that this warning is acceptable to us. That could be a flag in the publish config file - |
@devoncarew this is correct. I am disabling the publishing verification for now in favor of manual one until we have support for disabling some warnings. |
OK, sounds good (though FYI, you should be able to land the PR even with the red bot - the validation failure - and then still use the publishing automation via tagging the commit in master). Publishing manually would also work. |
Thanks! I prefer the bot to be green though, we will re-enable the check as soon as it can work for us, as it indeed a very useful feature. |
I'm going to close this; we also have #64, which is similar. |
We have automated publishing in webdev repo, thanks @kevmoo for adding the configuration, this is awesome!
A couple of issues the I encountered when I used it (I think it is for the first time) in dart-lang/webdev#1993
Even if the configuration is meant to run using main SDK channel, it still run using stable and failed due the lower SDK constraint we have in dwds.
See the configuration added here: dart-lang/webdev@7575ebd#r101991750
Logs from the failing publish task:
https://github.com/dart-lang/webdev/actions/runs/4265572537/jobs/7425052308:
I changed the configuration to run publish using dev channel, but the publish task disappeared.
First push:
Second push:
The text was updated successfully, but these errors were encountered: