test
Some checks failed
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bookworm) (push) Failing after 2m37s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bullseye) (push) Failing after 2m24s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (buster) (push) Failing after 2m15s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (docker-build) (push) Failing after 3m40s
Build RootFS Archives and Push Docker Images / build-and-push-docker-images (push) Has been skipped
Some checks failed
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bookworm) (push) Failing after 2m37s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (bullseye) (push) Failing after 2m24s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (buster) (push) Failing after 2m15s
Build RootFS Archives and Push Docker Images / build-rootfs-archives (docker-build) (push) Failing after 3m40s
Build RootFS Archives and Push Docker Images / build-and-push-docker-images (push) Has been skipped
This commit is contained in:
@@ -50,15 +50,19 @@ jobs:
|
||||
mkdir -p upload-repo/${{ matrix.version }}
|
||||
find upload-repo/${{ matrix.version }} -name '*.tar.bz2' -type f -delete
|
||||
|
||||
# Clean old tarballs
|
||||
for version_dir in bookworm bullseye buster docker-build; do
|
||||
find upload-repo/"$version_dir" -name '*.tar.bz2' -type f -delete || true
|
||||
done
|
||||
|
||||
# Find all tarballs recursively in the workspace
|
||||
found=$(find . -name '*.tar.bz2')
|
||||
|
||||
if [ -n "$found" ]; then
|
||||
# For each tarball found, get the version folder (parent dir) and copy to matching upload-repo folder
|
||||
for filepath in $found; do
|
||||
version_dir=$(dirname "$filepath")
|
||||
mkdir -p upload-repo/"$version_dir"
|
||||
cp "$filepath" upload-repo/"$version_dir"/
|
||||
mkdir -p "upload-repo/$version_dir"
|
||||
cp "$filepath" "upload-repo/$version_dir/"
|
||||
done
|
||||
|
||||
cd upload-repo
|
||||
|
||||
Reference in New Issue
Block a user