File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,17 @@ 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' && github.event.head.html_url || github.repository }}
12
+ BRANCH : ${{ github.event.pull_request && github.event.pull_request. github.ref_name }}
12
13
steps :
13
14
- name : Initialize
14
15
run : |
16
+ echo ${{ toJson(github) }} | jq -rS .
15
17
mkdir build && cd build
16
- west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
18
+ west init -m https://github.com/${{ github.repository }} --mr ${{ github.ref_name }}
17
19
west update -o=--filter=tree:0
18
20
19
21
- name : ccache
You can’t perform that action at this time.
0 commit comments