Compare commits
2 Commits
ac3fc6797f
...
00524783d1
Author | SHA1 | Date | |
---|---|---|---|
|
00524783d1 | ||
2d48b523c3 |
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- remove ci
|
||||
|
||||
### Fixed
|
||||
- release action like main and pr
|
||||
- *(deps)* update rust crate chrono to v0.4.39
|
||||
- *(deps)* update rust crate tracing to v0.1.41
|
||||
|
||||
|
@ -63,8 +63,12 @@ impl CuddleCI {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn with_release(&mut self, release: Box<dyn ReleaseAction + Send + Sync>) -> &mut Self {
|
||||
self.release_action.push(release);
|
||||
pub fn with_release<T>(&mut self, release: &T) -> &mut Self
|
||||
where
|
||||
T: ReleaseAction + Send + Sync + 'static,
|
||||
T: ToOwned<Owned = T>,
|
||||
{
|
||||
self.release_action.push(Box::new(release.to_owned()));
|
||||
|
||||
self
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user