Skip to content

fix upload path

fix upload path #15

Workflow file for this run

name: Build
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Dependencies
run: |
python3 -m pip install bumble==0.0.190
- name: Checkout
uses: actions/checkout@v4
- name: Run Test
run: |
python3 test/bumble/controllers.py tcp-server:_:9000 tcp-server:_:9001 &
sleep 5
build:
runs-on: ubuntu-22.04
container: ghcr.io/zephyrproject-rtos/ci:v0.26.2
env:
CMAKE_PREFIX_PATH: /opt/toolchains
ZEPHYR_VERSION: 3.6.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize
run: |
cd /tmp/
west init --mr v$ZEPHYR_VERSION
west update -o=--depth=1 -n
- name: Build
working-directory: /tmp/
run: |
west build $GITHUB_WORKSPACE/samples/uptime -b native_sim --build-dir $GITHUB_WORKSPACE/build
- name: check build
run: |
ls
- name : Upload
uses: actions/upload-artifact@v3
with:
name: posix-build
path: |
$GITHUB_WORKSPACE/build/zephyr/zephyr.exe
test:

Check failure on line 49 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 49
needs: build
runs-on: ubuntu-22.04
steps:
- name: Dependencies
run: |
python3 -m pip install bumble==0.0.190
- name: Checkout
uses: actions/checkout@v3
- name: Run Test
run: |
python3 test/bumble/controllers.py tcp-server:_:9000 tcp-server:_:9001 &
sleep 5