Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jun 17, 2024
1 parent 654a151 commit 7d4881e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: CI

on:
push:
branches: [master]
branches:
- master
pull_request:
branches: [master]
branches:
- master

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 1 addition & 1 deletion psst-core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fn main() {
// And construct the http-style url
remote_url = format!("https://{domain}/{path}");
}
remote_url = remote_url.trim_end_matches(".git").to_owned();
remote_url = remote_url.trim_end_matches(".git").clone_into(&mut remote_url);
let outfile = format!("{}/remote-url.txt", outdir);
let mut file = fs::File::create(outfile).unwrap();
write!(file, r#""{}""#, remote_url).ok();
Expand Down

0 comments on commit 7d4881e

Please sign in to comment.