We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac7c1e commit 905b574Copy full SHA for 905b574
.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=*
+ REPOSITORY: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
12
+ BRANCH: ${{ github.event.pull_request.head.ref || github.ref }}
13
+ CTX: ${{ toJson(github) }}
14
steps:
15
- name: Initialize
16
run: |
17
mkdir build && cd build
- west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
18
+ west init -m https://github.com/${{ env.REPOSITORY }} --mr ${{ env.BRANCH }}
19
west update -o=--filter=tree:0
20
21
- name: ccache
0 commit comments