Change variable unwrapping
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 1m16s
Details
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 1m16s
Details
This commit is contained in:
parent
9f66913793
commit
357f830a10
|
@ -45,12 +45,12 @@ jobs:
|
||||||
su - runner -c 'echo ~'
|
su - runner -c 'echo ~'
|
||||||
su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > ~/repo.txt"
|
su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > ~/repo.txt"
|
||||||
su - runner -c "touch ~/local.txt"
|
su - runner -c "touch ~/local.txt"
|
||||||
su - runner -c 'cd ~/srcpkgs; for i in ./* ;do printf "%s-%s-r%s.apk\n" $(echo $i | cut -d '/' -f 2) $(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 ) $(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 ) >> ~/local.txt; done'
|
su - runner -c 'cd ~/srcpkgs; for i in ./* ; do printf "%s-%s-r%s.apk\n" "$(echo "${i}" | cut -d '/' -f 2)" "$(cat "$i/APKBUILD" | grep pkgver | grep -v '\$' | cut -d '=' -f 2 )" "$(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 )" >> ~/local.txt; done'
|
||||||
su - runner -c 'echo "LOCAL:"; cat ~/local.txt'
|
su - runner -c 'echo "LOCAL:"; cat ~/local.txt'
|
||||||
su - runner -c "grep -Fvxf ~/repo.txt ~/local.txt > ~/missing.txt"
|
su - runner -c "grep -Fvxf ~/repo.txt ~/local.txt > ~/missing.txt"
|
||||||
su - runner -c 'echo "MISSING:"; cat ~/missing.txt'
|
su - runner -c 'echo "MISSING:"; cat ~/missing.txt'
|
||||||
su - runner -c "sed -i -E 's/-[0-9a-z.]+-r[0-9]+\.apk//g' ~/missing.txt"
|
su - runner -c "sed -i -E 's/-[0-9a-z.]+-r[0-9]+\.apk//g' ~/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' ~/repo.txt; done;"
|
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' ~/repo.txt; done"
|
||||||
su - runner -c 'echo "MISSING:"; cat ~/missing.txt'
|
su - runner -c 'echo "MISSING:"; cat ~/missing.txt'
|
||||||
su - runner -c 'echo "REPO:"; cat ~/repo.txt'
|
su - runner -c 'echo "REPO:"; cat ~/repo.txt'
|
||||||
su - runner -c 'echo "WILL BUILD:"; cat ~/missing.txt'
|
su - runner -c 'echo "WILL BUILD:"; cat ~/missing.txt'
|
||||||
|
|
Loading…
Reference in New Issue