Skip to content

Commit

Permalink
Merge pull request #14 from Tahinli/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Tahinli authored Mar 16, 2024
2 parents 9360f06 + 190655c commit 74b7646
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Upload Linux Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_linux_x64_86
name: rust-tcp-file-transfer-linux-x64_86
path: target/release/*transfer

build_windows:
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Upload Windows Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_windows_x64_86
name: rust-tcp-file-transfer-windows-x64_86
path: target/release/*transfer.exe

build_macos:
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Upload MacOS Binary
uses: actions/upload-artifact@v3
with:
name: rust_tcp_file_transfer_macos_x64_86
name: rust-tcp-file-transfer-macos-x64_86
path: target/release/*transfer

release:
Expand All @@ -78,10 +78,10 @@ jobs:

- name: Rename Binaries
run: |
mv Downloads/rust_tcp_file_transfer_linux_x64_86/rust-tcp-file-transfer Downloads/rust_tcp_file_transfer_linux_x64_86/rust-tcp-file-transfer-linux_x64_86
mv Downloads/rust_tcp_file_transfer_windows_x64_86/rust-tcp-file-transfer.exe Downloads/rust_tcp_file_transfer_windows_x64_86/rust-tcp-file-transfer-windows_x64_86.exe
mv Downloads/rust_tcp_file_transfer_macos_x64_86/rust-tcp-file-transfer Downloads/rust_tcp_file_transfer_macos_x64_86/rust-tcp-file-transfer-macos_x64_86
tree Downloads/
mv Downloads/rust-tcp-file-transfer-linux-x64_86/rust-tcp-file-transfer Downloads/rust-tcp-file-transfer-linux-x64_86/rust-tcp-file-transfer-linux-x64_86
mv Downloads/rust-tcp-file-transfer-windows-x64_86/rust-tcp-file-transfer.exe Downloads/rust-tcp-file-transfer-windows-x64_86/rust-tcp-file-transfer-windows-x64_86.exe
mv Downloads/rust-tcp-file-transfer-macos-x64_86/rust-tcp-file-transfer Downloads/rust-tcp-file-transfer-macos-x64_86/rust-tcp-file-transfer-macos-x64_86
- name: Git Commit SHA
id: vars
run: |
Expand All @@ -96,5 +96,4 @@ jobs:
files: |
Downloads/*linux*/*transfer*
Downloads/*windows*/*transfer*
Downloads/*macos*/*transfer*
Downloads/*macos*/*transfer*
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 74b7646

Please sign in to comment.