Fix all heredoc EOF delimiter indentation issues
- Move all EOF delimiters to leftmost column with no indentation - Fix shell syntax errors in build.yml, test.yml, update-readme.yml, ci.yml - Ensure proper shell heredoc syntax for Forgejo Actions compatibility - Resolve 'unexpected end of file' errors in workflow execution
This commit is contained in:
parent
13329ee383
commit
ad7f2ddf4e
4 changed files with 40 additions and 40 deletions
|
|
@ -37,17 +37,17 @@ jobs:
|
|||
if curl -s --connect-timeout 5 http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||
echo "✅ apt-cacher-ng is available, configuring proxy sources..."
|
||||
cat > /etc/apt/sources.list.d/apt-cacher-ng.list << 'EOF'
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main
|
||||
EOF
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main
|
||||
EOF
|
||||
apt update -y
|
||||
else
|
||||
echo "⚠️ apt-cacher-ng not available, using standard Debian sources..."
|
||||
cat > /etc/apt/sources.list.d/standard.list << 'EOF'
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
apt update -y
|
||||
fi
|
||||
|
||||
|
|
@ -105,15 +105,15 @@ jobs:
|
|||
apt update -y
|
||||
if curl -s --connect-timeout 5 http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||
cat > /etc/apt/sources.list.d/apt-cacher-ng.list << 'EOF'
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
apt update -y
|
||||
else
|
||||
cat > /etc/apt/sources.list.d/standard.list << 'EOF'
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
apt update -y
|
||||
fi
|
||||
|
||||
|
|
@ -153,15 +153,15 @@ jobs:
|
|||
apt update -y
|
||||
if curl -s --connect-timeout 5 http://192.168.1.101:3142/acng-report.html > /dev/null 2>&1; then
|
||||
cat > /etc/apt/sources.list.d/apt-cacher-ng.list << 'EOF'
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
deb http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
deb-src http://192.168.1.101:3142/ftp.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
apt update -y
|
||||
else
|
||||
cat > /etc/apt/sources.list.d/standard.list << 'EOF'
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
deb http://deb.debian.org/debian stable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian stable main contrib non-free
|
||||
EOF
|
||||
apt update -y
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue