From 173fecdff4c75c51b546f04384084f7800d47477 Mon Sep 17 00:00:00 2001 From: Sorawee Porncharoenwase Date: Mon, 20 Jul 2020 08:05:03 -0700 Subject: [PATCH] Point to the release branch for other workflows --- .github/workflows/ci-push_macos.yml | 5 +++++ .github/workflows/scanbuild_static-analysis.yml | 5 +++++ 2 files changed, 10 insertions(+) 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