Fix echo in Build workflow on Windows
This commit is contained in:
parent
32b7ca1443
commit
d13b67ff51
1 changed files with 3 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -14,10 +14,11 @@ jobs:
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
rust-version: ${{ matrix.rust }}
|
rust-version: ${{ matrix.rust }}
|
||||||
|
- uses: actions/checkout@master
|
||||||
- name: Enable Link Time Optimizations
|
- name: Enable Link Time Optimizations
|
||||||
run: |
|
run: |
|
||||||
echo -e "[profile.release]\nlto = true" >> Cargo.toml
|
echo "[profile.release]" >> Cargo.toml
|
||||||
- uses: actions/checkout@master
|
echo "lto = true" >> Cargo.toml
|
||||||
- name: Build todos example
|
- name: Build todos example
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release --example todos
|
cargo build --verbose --release --example todos
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue