Skip to content

Commit

Permalink
Fix CI error and clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KmolYuan committed Aug 24, 2024
1 parent 8f223aa commit 51a85f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Github Deploy
on:
push:
branches: [ main ]
tags: [ v* ]
branches: [main]
tags: [v*]
jobs:
cargo-publish:
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -18,6 +18,7 @@ jobs:
cargo publish -p four-bar-ui || true
gh-test-release:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions four-bar-ui/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ impl Entry {
}

fn native(files: Vec<PathBuf>) {
// Safety: Free console window at the beginning is safe
#[cfg(all(windows, feature = "native-win-release"))]
unsafe {
winapi::um::wincon::FreeConsole();
Expand Down

0 comments on commit 51a85f8

Please sign in to comment.