From 396aee2c739df630f9984519e129e063a9cb49e0 Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 18 May 2022 13:01:35 +0300 Subject: [PATCH] Checking out current branch --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 217e24ea..9e47b1c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,7 +197,10 @@ jobs: with: repository: 'oceanprotocol/ocean.js' path: 'ocean.js' - ref: echo ${GITHUB_HEAD_REF#refs/heads/} + run: | + branch=${GITHUB_HEAD_REF#refs/heads/} + echo ${branch} + git checkout ${branch} - name: Create code examples file uses: actions/cache@v2