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
|
||||
with:
|
||||
rust-version: ${{ matrix.rust }}
|
||||
- uses: actions/checkout@master
|
||||
- name: Enable Link Time Optimizations
|
||||
run: |
|
||||
echo -e "[profile.release]\nlto = true" >> Cargo.toml
|
||||
- uses: actions/checkout@master
|
||||
echo "[profile.release]" >> Cargo.toml
|
||||
echo "lto = true" >> Cargo.toml
|
||||
- name: Build todos example
|
||||
run: |
|
||||
cargo build --verbose --release --example todos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue