We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac7c1e commit 4c05ebaCopy full SHA for 4c05eba
.github/workflows/build.yml
@@ -5,15 +5,17 @@ on: [push, pull_request]
5
jobs:
6
build:
7
runs-on: ubuntu-latest
8
- container: zephyrprojectrtos/ci:latest
9
env:
10
CMAKE_PREFIX_PATH: /opt/toolchains
11
CCACHE_IGNOREOPTIONS: -specs=*
+ 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 }}
13
steps:
14
- name: Initialize
15
run: |
16
+ echo ${{ github }} | jq -r .
17
mkdir build && cd build
- 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 }}
19
west update -o=--filter=tree:0
20
21
- name: ccache
0 commit comments