Skip to content

Commit

Permalink
⚙️ add bin name
Browse files Browse the repository at this point in the history
  • Loading branch information
uzimaru0000 committed Sep 7, 2021
1 parent 8486d8c commit 142bcbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions-rs/[email protected]
with:
command: build
args: --release --target=${{ matrix.target }} --bin tv
args: --release --target=${{ matrix.target }}
use-cross: true
- run: |
zip --junk-paths tv-${{ matrix.target }} target/${{ matrix.target }}/release/tv{,.exe}
Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ exclude = [
"example.json"
]

[[bin]]
name = "tv"
path = "src/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
Expand Down

0 comments on commit 142bcbf

Please sign in to comment.