Skip to content

Commit 6958c56

Browse files
committed
[CI] Use long option names in commands of the action
Signed-off-by: Frederic Pillon <[email protected]>
1 parent cd65f22 commit 6958c56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/pio-build/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ENV LANG C.UTF-8
55
ENV LC_ALL C.UTF-8
66

77
# Install prerequisites
8-
RUN apt-get --quiet=2 update && apt-get install --quiet=2 -y git python3 python3-pip wget
8+
RUN apt-get --quiet=2 update && apt-get install --quiet=2 --assume-yes git python3 python3-pip wget
99

1010
# Install PlatformIO
1111
RUN pip3 install --quiet --upgrade platformio

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ platformio platform install "https://github.com/platformio/platform-ststm32.git"
1111
python3 -c "import json; import os; fp=open(os.path.expanduser('~/.platformio/platforms/ststm32/platform.json'), 'r+'); data=json.load(fp); data['packages']['framework-arduinoststm32']['version'] = '*'; fp.seek(0); fp.truncate(); json.dump(data, fp); fp.close()" || {
1212
exit 1
1313
}
14-
ln -sf "$GITHUB_WORKSPACE" "$HOME/.platformio/packages/framework-arduinoststm32" || {
14+
ln --symbolic "$GITHUB_WORKSPACE" "$HOME/.platformio/packages/framework-arduinoststm32" || {
1515
exit 1
1616
}
1717
# Download and unpack CMSIS package
1818
wget --no-verbose "https://github.com/stm32duino/ArduinoModule-CMSIS/releases/download/$CMSIS_VERSION/$CMSIS_ARCHIVE" || {
1919
exit 1
2020
}
21-
tar -xjf "$CMSIS_ARCHIVE" || {
21+
tar --extract --bzip2 --file="$CMSIS_ARCHIVE" || {
2222
exit 1
2323
}
2424
cd "$GITHUB_WORKSPACE/CI/build/" || {

0 commit comments

Comments
 (0)