We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent dac7c1e commit 3f33258Copy full SHA for 3f33258
.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 ${{ toJson(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