diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 58c0fab..b7da9e8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,6 +6,7 @@ on: env: CARGO_TERM_COLOR: always + BINARY_NAME: rust_tcp_file_transfer jobs: build_linux: @@ -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: @@ -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: @@ -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: