From 904c48434befab6c54cc5e4c1d81c52f29988a82 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 19 May 2020 16:27:04 +0800 Subject: Fix 'append file to other file' for windows; try again to trigger sparse checkout --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b023e87..e5e25c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest env: # Set to force version number, e.g., when no tag exists. - ARTIFACT_VERSION: TEST-0.0.2 + ARTIFACT_VERSION: TEST-0.0.3 steps: - name: Create artifacts directory run: mkdir artifacts @@ -114,7 +114,7 @@ jobs: fetch-depth: 1 - name: Checkout sparsely to avoid issues with unicode paths - if: '!success()' + if: failure() run: | git sparse-checkout init git sparse-checkout set '/*' '!/tests/' @@ -132,7 +132,7 @@ jobs: - name: Patch Cargo.toml (Windows) if: matrix.os == 'windows-2019' run: | - cat Cargo.toml.windows-suffix >> Cargo.toml + bash -c "cat Cargo.toml.windows-suffix >> Cargo.toml" - name: Install Rust uses: actions-rs/toolchain@v1 -- cgit v1.2.3