Skip to content

Commit

Permalink
build: 👷 env
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahinli committed Mar 15, 2024
1 parent 3344c18 commit 782507e
Showing 1 changed file with 4 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

0 comments on commit 782507e

Please sign in to comment.