From dc8e6be9fe38f884d0e5a3075f7de5dd33c7fffb Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 9 Mar 2021 08:34:10 +0000 Subject: [PATCH] Updated canary workflow to use Casper `4.0` branch no issue - when building the canary zip, we currently use `main` within Casper, but the 4.0 changes are on the 4.0 branch - this commit updates the workflow to checkout that branch as part of the pipeline --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e03c1659dd..d534611bae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -192,6 +192,9 @@ jobs: - run: yarn - run: grunt master + - run: git checkout 4.0 + working-directory: content/themes/casper + - run: echo "ghost_hash=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - run: echo "ghost_admin_hash=$(git rev-parse --short HEAD)" >> $GITHUB_ENV working-directory: core/client