From e7bc4a96f335f3d28c31a44f028c76aca8d425f4 Mon Sep 17 00:00:00 2001 From: edoapra Date: Fri, 19 Jan 2024 18:10:15 -0800 Subject: [PATCH] replace svn with git sparsecheckout --- .github/workflows/cross_compile.yml | 6 +++++- .github/workflows/multiple_actions.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cross_compile.yml b/.github/workflows/cross_compile.yml index 163f4f1..549320b 100644 --- a/.github/workflows/cross_compile.yml +++ b/.github/workflows/cross_compile.yml @@ -167,7 +167,11 @@ jobs: cd /tmp umask u=rwx,g=rwx,o=rwx umask -S - svn export https://github.com/nwchemgit/nwchem/trunk/QA >& svnout.log + git clone --no-checkout https://github.com/nwchemgit/nwchem + cd nwchem + git sparse-checkout init --cone + git sparse-checkout set QA + git checkout cd QA docker run --shm-size 256m --rm --platform ${{matrix.archs }} \ --user 0 --privileged \ diff --git a/.github/workflows/multiple_actions.yml b/.github/workflows/multiple_actions.yml index b638cd7..f0e1f7e 100644 --- a/.github/workflows/multiple_actions.yml +++ b/.github/workflows/multiple_actions.yml @@ -353,7 +353,11 @@ jobs: cd /tmp umask u=rwx,g=rwx,o=rwx umask -S - svn export https://github.com/nwchemgit/nwchem/trunk/QA >& svnout.log + git clone --no-checkout https://github.com/nwchemgit/nwchem + cd nwchem + git sparse-checkout init --cone + git sparse-checkout set QA + git checkout cd QA if [[ ${{ matrix.archs }} != 'linux/arm/v7' && ${{ matrix.fc }} != 'nvfortran' ]]; then \ docker run --shm-size 256m --rm --platform ${{matrix.archs }} \