Skip to content

Commit 41589fe

Browse files
committed
Update curl command to download in a non user accessible folder
1 parent 2615dcd commit 41589fe

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/coverity_scan.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ jobs:
4242
# ${{ env.stepName }}
4343
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
4444
45-
wget -nv -qO- https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_TOKEN}&project=FreeRTOS-Kernel" | tar -zx --one-top-level=cov_scan --strip-components 1
46-
echo "cov_scan_path=$(pwd)/cov_scan/bin" >> $GITHUB_ENV
47-
45+
wget -nv -qO- https://scan.coverity.com/download/linux64 --post-data "token=${COVERITY_TOKEN}&project=FreeRTOS-Kernel" | tar -zx --one-top-level=cov_scan -C "$HOME"
46+
echo "cov_scan_path=$HOME/cov_scan/bin" >> $GITHUB_ENV
4847
echo "::endgroup::"
4948
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
5049

.github/workflows/kernel-demos.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ jobs:
156156
run: |
157157
# ${{ env.stepName }}
158158
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
159-
curl -L -O https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
159+
curl -L -o "$HOME/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z" https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
160160
sudo apt update -y
161161
sudo apt install -y p7zip-full
162+
cd "$HOME"
162163
7z x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
163164
chmod +x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run
164165
sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --prefix /usr/bin/msp430-gcc --mode unattended
@@ -211,6 +212,8 @@ jobs:
211212
sudo apt install -y autogen gawk libgmp-dev libmpc-dev libmpfr-dev
212213
sudo apt install -y patchutils sharutils zlib1g-dev autoconf2.64
213214
215+
cd "$HOME"
216+
214217
# Download the mb-gcc toolchain from github
215218
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/binutils-microblaze_2.35-2021-0623+1_amd64.deb;
216219
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/gcc-microblaze_10.2.0-2021-0623+2_amd64.deb;

0 commit comments

Comments
 (0)