From ff8482aea09a13ff24921b24e0849f4df858b429 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 19 May 2020 16:37:45 +0800 Subject: Try to get it cloned one more time --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57af413..2c5f46b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -114,7 +114,10 @@ jobs: - name: Checkout sparsely to avoid issues with unicode paths if: failure() + shell: bash run: | + set -x + git clone --depth=1 --no-checkout https://github.com/${{ github.repository }} git sparse-checkout init git sparse-checkout set '/*' '!/tests/' @@ -130,8 +133,9 @@ jobs: - name: Patch Cargo.toml (Windows) if: matrix.os == 'windows-2019' + shell: bash run: | - bash -c "cat Cargo.toml.windows-suffix >> Cargo.toml" + cat Cargo.toml.windows-suffix >> Cargo.toml - name: Install Rust uses: actions-rs/toolchain@v1 -- cgit v1.2.3