Skip to content

Commit e15554d

Browse files
committed
wip
1 parent dac7c1e commit e15554d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Diff for: .github/workflows/build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@ 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.head.html_url || github.repository }}
12+
BRANCH: ${{ github.event.pull_request.head.ref || github.ref }}
13+
CTX: ${{ toJson(github) }}
1214
steps:
1315
- name: Initialize
1416
run: |
17+
echo "${{ github.event.pull_request.head.html_url }}"
18+
echo "$CTX"
1519
mkdir build && cd build
16-
west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
20+
west init -m https://github.com/${{ env.REPO }} --mr ${{ env.BRANCH }}
1721
west update -o=--filter=tree:0
1822
1923
- name: ccache

0 commit comments

Comments
 (0)