Skip to content

Commit 905b574

Browse files
committed
wip
1 parent dac7c1e commit 905b574

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: .github/workflows/build.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,17 @@ 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+
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) }}
1214
steps:
1315
- name: Initialize
1416
run: |
1517
mkdir build && cd build
16-
west init -m https://github.com/${{ github.repository }} --mr ${{ env.GITHUB_REF }}
18+
west init -m https://github.com/${{ env.REPOSITORY }} --mr ${{ env.BRANCH }}
1719
west update -o=--filter=tree:0
1820
1921
- name: ccache

0 commit comments

Comments
 (0)