Compare commits

...

2 Commits

Author SHA1 Message Date
706d9f89f0 Fixed download url of cleanup tool
All checks were successful
Build on push / prepare (push) Successful in 27s
Build on push / build (push) Successful in 30s
2026-02-15 12:42:40 +01:00
a2e4152d5e Should fix exec problems
All checks were successful
Build on push / prepare (push) Successful in 27s
Build on push / build (push) Successful in 28s
2026-02-15 12:24:00 +01:00

View File

@@ -29,7 +29,13 @@ runs:
- name: Download and test package-cleanup tool - name: Download and test package-cleanup tool
shell: bash shell: bash
run: | run: |
curl -OJ https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup/package-cleanup-linux-x64 latest_path=$(curl -sI https://git.sh-edraft.de/sh-edraft.de/-/packages/generic/package-cleanup/ \
| awk -F ' ' '/Location:/ {print $2}' \
| tr -d '\r')
version=$(basename "$latest_path")
echo "Downloading package-cleanup version $version..."
curl -OJ https://git.sh-edraft.de/api/packages/sh-edraft.de/generic/package-cleanup/$version/package-cleanup-linux-x64
# Make executable # Make executable
chmod +x package-cleanup-linux-x64 chmod +x package-cleanup-linux-x64
@@ -49,6 +55,4 @@ runs:
echo "Starting cleanup..." echo "Starting cleanup..."
./package-cleanup-linux-x64 ./package-cleanup-linux-x64
echo "Cleanup completed." echo "Cleanup completed."
sleep 10000000
rm package-cleanup-linux-x64