9 lines
389 B
Bash
9 lines
389 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
mkdir -p /home/justme/woodpecker/work "$NUGET_PACKAGES" "$NUGET_SCRATCH"
|
|
chmod 700 "$NUGET_SCRATCH"
|
|
# Seed the persistent application restore cache from the baked SDK/Zig packs.
|
|
# Existing package versions are reused; this copies files without downloading.
|
|
cp -a -n /root/.nuget/packages/. "$NUGET_PACKAGES/"
|
|
exec /usr/local/bin/woodpecker-agent "$@"
|