FIX CI 6
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 55s Details

This commit is contained in:
ITmodulo 2024-02-21 01:43:40 +01:00
parent f8db88aab8
commit 31163d9a7a
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ jobs:
cp -r srcpkgs /home/runner/ && chown -R runner:runner /home/runner/srcpkgs cp -r srcpkgs /home/runner/ && chown -R runner:runner /home/runner/srcpkgs
- name: Determine packages to build - name: Determine packages to build
run: | run: |
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'