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
1 parent dac7c1e commit 305288bCopy full SHA for 305288b
.github/workflows/build.yml
@@ -5,15 +5,18 @@ 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.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) }}
14
steps:
15
- name: Initialize
16
run: |
17
+ echo "$CTX"
18
mkdir build && cd build
- west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
19
+ west init -m https://github.com/${{ env.REPO }} --mr ${{ env.BRANCH }}
20
west update -o=--filter=tree:0
21
22
- name: ccache
0 commit comments