1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Checkout pull request head commit

This commit is contained in:
Jamie Hewitt 2022-05-18 13:40:40 +03:00
parent 067510370a
commit 8832ea1b48

View File

@ -197,16 +197,7 @@ jobs:
with:
repository: 'oceanprotocol/ocean.js'
path: 'ocean.js'
ref: main
- name: checkout current branch
run: |
git status
branch=${GITHUB_HEAD_REF#refs/heads/}
echo ${branch}
git pull origin ${branch}
git checkout ${branch}
git status
ref: ${{ github.event.pull_request.head.sha }}
- name: Create code examples file
uses: actions/cache@v2