Skip to content

Commit 815bc35

Browse files
committed
test
1 parent a727778 commit 815bc35

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/fobe_build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
name: Build ${{ inputs.board }}
3333
runs-on: self-hosted
3434
steps:
35+
- name: Clean workspace
36+
run: |
37+
sudo rm -rf bin
38+
sudo rm -rf ${{ inputs.board }}
39+
mkdir -p bin
40+
3541
- name: Build board ${{ inputs.board }}
3642
uses: fobe-projects/action-circuitpython-builder@main
3743
with:
@@ -57,6 +63,6 @@ jobs:
5763
if: ${{ inputs.release_tag == '' }}
5864
uses: actions/upload-artifact@v4
5965
with:
60-
name: firmware-${{ inputs.board }}-${{ github.sha }}.zip
66+
name: ${{ inputs.board }}${{ inputs.firmware_tag }}
6167
overwrite: true
6268
path: ${{ inputs.board }}${{ inputs.firmware_tag }}.tar.xz

.github/workflows/fobe_release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
# Get all board directories for the specified port
3232
BOARDS_DIR="ports/${{matrix.port}}/boards"
3333
if [ -d "$BOARDS_DIR" ]; then
34-
# Get all directory names, exclude files, filter for FOBE prefix, sort alphabetically
35-
BOARDS=$(find "$BOARDS_DIR" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | grep "^FOBE" | sort | jq -R -s -c 'split("\n")[:-1]')
34+
# Get all directory names, exclude files, filter for fobe prefix, sort alphabetically
35+
BOARDS=$(find "$BOARDS_DIR" -mindepth 1 -maxdepth 1 -type d -exec basename {} \; | grep "^fobe" | sort | jq -R -s -c 'split("\n")[:-1]')
3636
else
3737
echo "Warning: Directory $BOARDS_DIR does not exist"
3838
BOARDS="[]"
@@ -224,7 +224,7 @@ jobs:
224224
continue: ${{ steps.check_release.outputs.continue }}
225225

226226
build-espressif:
227-
name: Build Port ESP32
227+
name: Build Port Espressif
228228
needs: [setup, create-release]
229229
if: needs.create-release.outputs.continue == 'true'
230230
strategy:
@@ -241,7 +241,7 @@ jobs:
241241
secrets: inherit
242242

243243
build-nordic:
244-
name: Build Port NRF
244+
name: Build Port Nordic
245245
needs: [setup, create-release]
246246
if: needs.create-release.outputs.continue == 'true'
247247
strategy:

0 commit comments

Comments
 (0)