Skip to content

Commit 0cf7516

Browse files
committed
Dont use project name in workflow yaml
1 parent 74404a7 commit 0cf7516

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build-and-upload.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
with:
16-
path: makerville-badge
16+
path: project
1717
persist-credentials: false
1818

1919
- name: Set up Python
@@ -24,23 +24,23 @@ jobs:
2424
- name: Setup Zephyr project
2525
uses: zephyrproject-rtos/action-zephyr-setup@v1
2626
with:
27-
app-path: makerville-badge
27+
app-path: project
2828
toolchains: riscv64-zephyr-elf
2929

3030
- name: Fetch Espressif HAL blobs
31-
working-directory: makerville-badge
31+
working-directory: project
3232
shell: bash
3333
run: |
3434
west blobs fetch hal_espressif
3535
3636
- name: Build firmware for ESP32-C3
37-
working-directory: makerville-badge
37+
working-directory: project
3838
shell: bash
3939
run: |
4040
west build -p always -b esp32c3_devkitm app -- -DBOARD_ROOT=.
4141
4242
- name: List build artifacts
43-
working-directory: makerville-badge
43+
working-directory: project
4444
run: |
4545
echo "=== Build directory structure ==="
4646
find build -type f -name "*.bin" -o -name "*.elf" -o -name "*.hex" 2>/dev/null || echo "No binaries found"
@@ -59,7 +59,7 @@ jobs:
5959
echo "Branch name: $BRANCH_NAME_SAFE"
6060
6161
- name: Rename binaries with commit ID
62-
working-directory: makerville-badge/build/zephyr
62+
working-directory: project/build/zephyr
6363
run: |
6464
echo "=== Renaming all .bin files with commit ID ==="
6565
BIN_COUNT=0
@@ -92,6 +92,6 @@ jobs:
9292
api-key: ${{ secrets.EMBEDHUB_API_KEY }}
9393
organization: ${{ secrets.EMBEDHUB_ORG }}
9494
project: ${{ secrets.EMBEDHUB_PROJECT }}
95-
files: 'makerville-badge/build/zephyr/*_${{ github.sha }}.bin'
95+
files: 'project/build/zephyr/*_${{ github.sha }}.bin'
9696
path: 'releases/${{ steps.branch.outputs.name }}/'
9797
working-directory: '.'

0 commit comments

Comments
 (0)