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