Skip to content

Commit

Permalink
build: 👷 name of process and folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahinli committed Mar 15, 2024
1 parent 3344c18 commit 190655c
Showing 1 changed file with 8 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*

0 comments on commit 190655c

Please sign in to comment.