Skip to content

Commit 7ecf2a9

Browse files
committed
[CI] Make variables readonly in PlatformIO actions
Signed-off-by: Frederic Pillon <[email protected]>
1 parent cd4ff07 commit 7ecf2a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/pio-build/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
CMSIS_VERSION="$1"
4-
CMSIS_ARCHIVE="CMSIS-${CMSIS_VERSION}.tar.bz2"
3+
readonly CMSIS_VERSION="$1"
4+
readonly CMSIS_ARCHIVE="CMSIS-${CMSIS_VERSION}.tar.bz2"
55

66
# Install the development version of ststm32 platform
77
platformio platform install "https://github.com/platformio/platform-ststm32.git" || {

0 commit comments

Comments
 (0)