File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 8888
8989 # Update package list again after adding the new repo
9090 echo "Updating package list after adding Microsoft repository..."
91- sudo apt-get update
91+ if ! sudo apt-get update; then
92+ echo "::warning::apt-get update failed after adding Microsoft repo (repo may be unavailable for this distro). Continuing..."
93+ fi
9294 echo "Microsoft repository added successfully"
9395 echo "::endgroup::"
9496 else
@@ -119,7 +121,7 @@ jobs:
119121
120122 # Set LD_LIBRARY_PATH permanently for the runner session
121123 echo "Setting LD_LIBRARY_PATH environment variable..."
122- echo "LD_LIBRARY_PATH=/opt/omi/lib:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
124+ echo "LD_LIBRARY_PATH=/opt/omi/lib:/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}" >> " $GITHUB_ENV"
123125 echo "Environment variable set successfully"
124126
125127 echo "Linux dependencies installed successfully"
You can’t perform that action at this time.
0 commit comments