summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-14 23:49:33 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-14 23:51:09 +0100
commitd13b67ff5150d898af093f403574cf8c4e672bcc (patch)
treed9fb5073c304266fde9a91e65ebfac24a0468c63 /.github
parent32b7ca1443c4c5e89f1094c894488ce41f92d8ce (diff)
downloadiced-d13b67ff5150d898af093f403574cf8c4e672bcc.tar.gz
iced-d13b67ff5150d898af093f403574cf8c4e672bcc.tar.bz2
iced-d13b67ff5150d898af093f403574cf8c4e672bcc.zip
Fix `echo` in `Build` workflow on Windows
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e18c2e11..640924c9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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