FIX CI 7
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 1m3s Details

This commit is contained in:
ITmodulo 2024-02-21 01:46:19 +01:00
parent 31163d9a7a
commit 0957851624
1 changed files with 8 additions and 8 deletions

View File

@ -43,7 +43,7 @@ jobs:
su - runner -c "pwd; ls -lah --color" su - runner -c "pwd; ls -lah --color"
su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > /home/runner/repo.txt" su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > /home/runner/repo.txt"
su - runner -c "touch /home/runner/local.txt" su - runner -c "touch /home/runner/local.txt"
su - runner -c 'for i in /home/runner/srcpkgs/* ; do printf "%s-%s-r%s.apk\n" "$(echo $i | cut -d '/' -f 5)" "$(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 )" "$(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 )" >> /home/runner/local.txt; done' su - runner -c 'for i in /home/runner/srcpkgs/*; do printf "%s-%s-r%s.apk\n" "$(echo $i | cut -d '/' -f 5)" "$(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 )" "$(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 )" >> /home/runner/local.txt; done'
su - runner -c 'echo "LOCAL:"; cat /home/runner/local.txt' su - runner -c 'echo "LOCAL:"; cat /home/runner/local.txt'
su - runner -c "grep -Fvxf /home/runner/repo.txt /home/runner/local.txt > /home/runner/missing.txt" su - runner -c "grep -Fvxf /home/runner/repo.txt /home/runner/local.txt > /home/runner/missing.txt"
su - runner -c 'echo "MISSING:"; cat /home/runner/missing.txt' su - runner -c 'echo "MISSING:"; cat /home/runner/missing.txt'