Fix PATH not set
Some checks failed
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 10m19s

This commit is contained in:
ITmodulo 2024-01-27 20:10:47 +01:00
parent ac7bdf38de
commit 7ffe3d69a3

View File

@ -35,7 +35,7 @@ jobs:
echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
su - runner -c "echo 'PACKAGER_PRIVKEY="/home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}"' >> ~/.abuild/abuild.conf"
mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs
su - runner -c 'export CBUILD="aarch64"; cd srcpkgs; for i in $(ls ./ ); do cd $i && abuild -r; done'
su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ ); do cd $i && abuild -r; done'
su - runner -c 'mkdir hole'
echo "${{ secrets.REPO_LOGIN }}" > /home/runner/id_ecdsa && chown runner:runner /home/runner/id_ecdsa && chmod 600 /home/runner/id_ecdsa
su - runner -c 'sshfs -p "${{ secrets.LOGIN_PORT }}" -o StrictHostKeyChecking=accept-new -o default_permissions,allow_other -o IdentityFile=/home/runner/id_ecdsa "${{ secrets.SERVER_LOGIN_AND_ADDRESS }}":"${{ secrets.SERVER_REPO_PATH }}" /home/runner/hole'