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

This commit is contained in:
ITmodulo 2024-02-21 01:46:19 +01:00
parent 31163d9a7a
commit 0957851624

View File

@ -43,14 +43,14 @@ jobs:
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 "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 '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 'echo "MISSING:"; cat /home/runner/missing.txt'
su - runner -c "sed -i -E 's/-[0-9a-z.]+-r[0-9]+\.apk//g' /home/runner/missing.txt"
su - runner -c "for i in $(cat /home/runner/missing.txt); do sed -i -E 's/'"${i}"-[0-9a-z.]+-r[0-9]+\.apk'//g' /home/runner/repo.txt; done"
su - runner -c 'echo "REPO:"; cat /home/runner/repo.txt'
su - runner -c 'echo "WILL BUILD:"; cat /home/runner/missing.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 '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 'echo "MISSING:"; cat /home/runner/missing.txt'
su - runner -c "sed -i -E 's/-[0-9a-z.]+-r[0-9]+\.apk//g' /home/runner/missing.txt"
su - runner -c "for i in $(cat /home/runner/missing.txt); do sed -i -E 's/'"${i}"-[0-9a-z.]+-r[0-9]+\.apk'//g' /home/runner/repo.txt; done"
su - runner -c 'echo "REPO:"; cat /home/runner/repo.txt'
su - runner -c 'echo "WILL BUILD:"; cat /home/runner/missing.txt'
- name: Compile missing in sequence
run: |