build: 👷 env
This commit is contained in:
parent
3344c18ef2
commit
782507e3d7
1 changed files with 4 additions and 3 deletions
7
.github/workflows/rust.yml
vendored
7
.github/workflows/rust.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
BINARY_NAME: rust_tcp_file_transfer
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_linux:
|
build_linux:
|
||||||
|
@ -22,7 +23,7 @@ jobs:
|
||||||
- name: Upload Linux Binary
|
- name: Upload Linux Binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rust_tcp_file_transfer_linux_x64_86
|
name: $(BINARY_NAME)_linux_x64_86
|
||||||
path: target/release/*transfer
|
path: target/release/*transfer
|
||||||
|
|
||||||
build_windows:
|
build_windows:
|
||||||
|
@ -39,7 +40,7 @@ jobs:
|
||||||
- name: Upload Windows Binary
|
- name: Upload Windows Binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rust_tcp_file_transfer_windows_x64_86
|
name: $(BINARY_NAME)_windows_x64_86
|
||||||
path: target/release/*transfer.exe
|
path: target/release/*transfer.exe
|
||||||
|
|
||||||
build_macos:
|
build_macos:
|
||||||
|
@ -56,7 +57,7 @@ jobs:
|
||||||
- name: Upload MacOS Binary
|
- name: Upload MacOS Binary
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: rust_tcp_file_transfer_macos_x64_86
|
name: $(BINARY_NAME)_macos_x64_86
|
||||||
path: target/release/*transfer
|
path: target/release/*transfer
|
||||||
|
|
||||||
release:
|
release:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue