Skip to content

Commit 39496fc

Browse files
authored
Fix use of steps.set-up-port.outputs.port
1 parent 1019998 commit 39496fc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-board-custom.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
uses: ./.github/actions/deps/ports
8383
with:
8484
board: ${{ inputs.board }}
85+
port: ${{ inputs.port }}
8586
- name: Set up submodules
8687
id: set-up-submodules
8788
uses: ./.github/actions/deps/submodules
@@ -92,7 +93,7 @@ jobs:
9293
uses: ./.github/actions/deps/external
9394
with:
9495
action: cache
95-
port: ${{ steps.set-up-port.outputs.port }}
96+
port: ${{ inputs.port }}
9697
- name: Set up mpy-cross
9798
if: steps.set-up-submodules.outputs.frozen == 'True'
9899
uses: ./.github/actions/mpy_cross
@@ -119,9 +120,9 @@ jobs:
119120
FLAGS: ${{ inputs.flags }}
120121
DEBUG: ${{ inputs.debug && '1' || '0' }}
121122
run: make -j4 $FLAGS BOARD="$BOARD" DEBUG=$DEBUG TRANSLATION="$TRANSLATION"
122-
working-directory: ports/${{ steps.set-up-port.outputs.port }}
123+
working-directory: ports/${{ inputs.port }}
123124
- name: Upload artifact
124125
uses: actions/upload-artifact@v4
125126
with:
126127
name: ${{ inputs.board }}-${{ inputs.language }}-${{ inputs.version }}${{ inputs.flags != '' && '-custom' || '' }}${{ inputs.debug && '-debug' || '' }}
127-
path: ports/${{ steps.set-up-port.outputs.port }}/build-${{ inputs.board }}/firmware.*
128+
path: ports/${{ input.port }}/build-${{ inputs.board }}/firmware.*

0 commit comments

Comments
 (0)