Skip to content

Commit

Permalink
Merge pull request #12 from Tahinli/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Tahinli authored Mar 15, 2024
2 parents 9360f06 + 782507e commit cd315a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

env:
CARGO_TERM_COLOR: always
BINARY_NAME: rust_tcp_file_transfer

jobs:
build_linux:
Expand All @@ -22,7 +23,7 @@ jobs:
- name: Upload Linux Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_linux_x64_86
name: $(BINARY_NAME)_linux_x64_86
path: target/release/*transfer

build_windows:
Expand All @@ -39,7 +40,7 @@ jobs:
- name: Upload Windows Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_windows_x64_86
name: $(BINARY_NAME)_windows_x64_86
path: target/release/*transfer.exe

build_macos:
Expand All @@ -56,7 +57,7 @@ jobs:
- name: Upload MacOS Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_macos_x64_86
name: $(BINARY_NAME)_macos_x64_86
path: target/release/*transfer

release:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# will have compiled files and executables
debug/
target/
.vscode/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Expand Down

0 comments on commit cd315a8

Please sign in to comment.