Skip to content

Commit d07e3d5

Browse files
committed
extend ci to build cargo-espflash too
1 parent 88639c4 commit d07e3d5

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,15 @@ jobs:
102102
- uses: actions-rs/cargo@v1
103103
with:
104104
command: build
105-
args: --release --bin espflash --target x86_64-unknown-linux-musl
105+
args: --release --all --target x86_64-unknown-linux-musl
106106
- uses: actions/upload-artifact@v2
107107
with:
108108
name: espflash
109109
path: target/x86_64-unknown-linux-musl/release/espflash
110+
- uses: actions/upload-artifact@v2
111+
with:
112+
name: cargo-espflash
113+
path: target/x86_64-unknown-linux-musl/release/cargo-espflash
110114

111115
build-windows:
112116
name: Build Static Windows Binaries
@@ -123,8 +127,12 @@ jobs:
123127
with:
124128
use-cross: true
125129
command: build
126-
args: --release --bin espflash --target x86_64-pc-windows-gnu
130+
args: --release --all --target x86_64-pc-windows-gnu
127131
- uses: actions/upload-artifact@v2
128132
with:
129133
name: espflash.exe
130-
path: target/x86_64-pc-windows-gnu/release/espflash.exe
134+
path: target/x86_64-pc-windows-gnu/release/espflash.exe
135+
- uses: actions/upload-artifact@v2
136+
with:
137+
name: cargo-espflash.exe
138+
path: target/x86_64-pc-windows-gnu/release/cargo-espflash.exe

0 commit comments

Comments
 (0)