Skip to content

Commit 305288b

Browse files
committed
wip
1 parent dac7c1e commit 305288b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ on: [push, pull_request]
55
jobs:
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

0 commit comments

Comments
 (0)