diff --git a/.github/workflows/ci-push_macos.yml b/.github/workflows/ci-push_macos.yml index 8f8dd0da26..96a02d9894 100644 --- a/.github/workflows/ci-push_macos.yml +++ b/.github/workflows/ci-push_macos.yml @@ -139,7 +139,12 @@ jobs: - name: Untar working-directory: ${{ github.workspace }} run: tar -xvjf ${{ runner.temp }}/racketcgc-macos-nocify-x64_git${{ github.sha}}.tar.bz2 + - name: Checking out ChezScheme Release + if: github.ref == 'refs/heads/release' + working-directory: ./racket/src + run: git clone --single-branch --branch release --depth=1 --recurse-submodules -j3 https://github.com/racket/ChezScheme - name: Checking out ChezScheme + if: github.ref != 'refs/heads/release' working-directory: ./racket/src run: git clone --depth=1 --recurse-submodules -j3 https://github.com/racket/ChezScheme - name: Configuring Racket CS diff --git a/.github/workflows/scanbuild_static-analysis.yml b/.github/workflows/scanbuild_static-analysis.yml index b196c1ec2c..539470c2ef 100644 --- a/.github/workflows/scanbuild_static-analysis.yml +++ b/.github/workflows/scanbuild_static-analysis.yml @@ -169,7 +169,12 @@ jobs: make -j$((cpus+1)) install - name: Clean repo run: git clean -xdf + - name: Checking out ChezScheme Release + if: github.ref == 'refs/heads/release' + working-directory: ./racket/src + run: git clone --single-branch --branch release --depth=1 --recurse-submodules -j3 https://github.com/racket/ChezScheme - name: Checking out ChezScheme + if: github.ref != 'refs/heads/release' working-directory: ./racket/src run: git clone --depth=1 --recurse-submodules -j3 https://github.com/racket/ChezScheme - name: Configuring Racket CS