From d13b67ff5150d898af093f403574cf8c4e672bcc Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez <hector0193@gmail.com> Date: Thu, 14 Nov 2019 23:49:33 +0100 Subject: Fix `echo` in `Build` workflow on Windows --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit