summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-05-19 16:37:45 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-05-19 16:42:45 +0800
commitff8482aea09a13ff24921b24e0849f4df858b429 (patch)
tree353531df4251e0342a5cf7f43bf3326b82801fad /.github
parentcab78dd0fa0df3aa9f17915832a04f8b4ac44a33 (diff)
Try to get it cloned one more time
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml6
1 files changed, 5 insertions, 1 deletions
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