Skip to content

Commit 8bc2dcc

Browse files
authored
ci: add --fail to curl and remove -f from rm to prevent silent CI failures (#300)
1 parent a02dc99 commit 8bc2dcc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ jobs:
5353
if: ${{ steps.cache-simics-packages.outputs.cache-hit != 'true' }}
5454
run: |
5555
mkdir -p "${HOME}/simics/ispm/" && \
56-
curl --noproxy -L -o "${HOME}/simics/ispm.tar.gz" \
56+
curl --fail --noproxy '*' -L -o "${HOME}/simics/ispm.tar.gz" \
5757
"${{ env.PUBLIC_SIMICS_ISPM_URL }}" && \
58-
curl --noproxy -L -o "${HOME}/simics/simics.ispm" \
58+
curl --fail --noproxy '*' -L -o "${HOME}/simics/simics.ispm" \
5959
"${{ env.PUBLIC_SIMICS_PKGS_URL }}" && \
6060
tar -C "${HOME}/simics/ispm" --strip-components=1 \
6161
-xvf "${HOME}/simics/ispm.tar.gz"
@@ -548,13 +548,13 @@ jobs:
548548
if: ${{ steps.cache-simics-packages.outputs.cache-hit != 'true' }}
549549
run: |
550550
mkdir -p "${HOME}/simics/ispm/" && \
551-
curl -L -o "${HOME}/simics/ispm.tar.gz" \
551+
curl --fail --noproxy '*' -L -o "${HOME}/simics/ispm.tar.gz" \
552552
"${{ env.PUBLIC_SIMICS_ISPM_URL }}" && \
553-
curl -L -o "${HOME}/simics/simics.ispm" \
553+
curl --fail --noproxy '*' -L -o "${HOME}/simics/simics.ispm" \
554554
"${{ matrix.pkgs_url }}" && \
555555
tar -C "${HOME}/simics/ispm" --strip-components=1 \
556556
-xvf "${HOME}/simics/ispm.tar.gz"
557-
rm -f "${HOME}/simics/ispm.tar.gz"
557+
rm "${HOME}/simics/ispm.tar.gz"
558558
559559
- name: Set up SIMICS Install Directory
560560
run: |

0 commit comments

Comments
 (0)