Skip to content

Commit

Permalink
fix: add valid artifacts name
Browse files Browse the repository at this point in the history
  • Loading branch information
LinjingZhang committed Feb 10, 2025
1 parent 705e48d commit df05457
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/compile-platform-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,14 @@ jobs:
enable-deltas-report: false
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Modify the environment variable
run: |
BOARD_NAME=$(echo $matrix.board.fqbn | sed 's/:/-/g')
echo "BOARD_NAME=$BOARD_NAME" >> $GITHUB_ENV
- name: Save sketches report as workflow artifact
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: ${{ env.SKETCHES_REPORTS_PATH }}-${{ matrix.board.fqbn }}
name: ${{ env.SKETCHES_REPORTS_PATH }}-${{ env.BOARDNAME }}
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 comments on commit df05457

Please # to comment.