File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,19 @@ on: [push, pull_request]
5
5
jobs :
6
6
build :
7
7
runs-on : ubuntu-latest
8
- container : zephyrprojectrtos/ci:latest
9
8
env :
10
9
CMAKE_PREFIX_PATH : /opt/toolchains
11
10
CCACHE_IGNOREOPTIONS : -specs=*
11
+ REPO : ${{ github.event.pull_request.head.html_url || github.repository }}
12
+ BRANCH : ${{ github.event.pull_request.head.ref || github.ref }}
13
+ CTX : ${{ toJson(github) }}
12
14
steps :
13
15
- name : Initialize
14
16
run : |
17
+ echo "${{ github.event.pull_request.head.html_url }}"
18
+ echo "$CTX"
15
19
mkdir build && cd build
16
- west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
20
+ west init -m https://github.com/${{ env.REPO }} --mr ${{ env.BRANCH }}
17
21
west update -o=--filter=tree:0
18
22
19
23
- name : ccache
You can’t perform that action at this time.
0 commit comments