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:
parent
067510370a
commit
8832ea1b48
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -197,16 +197,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: 'oceanprotocol/ocean.js'
|
repository: 'oceanprotocol/ocean.js'
|
||||||
path: 'ocean.js'
|
path: 'ocean.js'
|
||||||
ref: main
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: checkout current branch
|
|
||||||
run: |
|
|
||||||
git status
|
|
||||||
branch=${GITHUB_HEAD_REF#refs/heads/}
|
|
||||||
echo ${branch}
|
|
||||||
git pull origin ${branch}
|
|
||||||
git checkout ${branch}
|
|
||||||
git status
|
|
||||||
|
|
||||||
- name: Create code examples file
|
- name: Create code examples file
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user