diff --git a/.gitea/workflows/release_arm64v8.yml b/.gitea/workflows/release_arm64v8.yml index 02b14e2..4e085cb 100644 --- a/.gitea/workflows/release_arm64v8.yml +++ b/.gitea/workflows/release_arm64v8.yml @@ -12,9 +12,15 @@ jobs: - name: Update environment shell: sh run: apk -U upgrade - - name: Install needed tools + - name: Install bash shell: sh - run: apk add bash git wget curl nodejs sshfs alpine-sdk abuild sudo shadow + run: apk add bash + - name: Select faster mirror and add tools + run: | + echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/main" > /etc/apk/repositories + echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories + apk update + apk add git wget curl nodejs sshfs alpine-sdk abuild sudo shadow - name: Checkout uses: actions/checkout@v3 - name: Set up environment and users @@ -41,9 +47,9 @@ jobs: - name: Compile in sequence run: | mv srcpkgs /home/runner && chown -R runner:runner /home/runner/srcpkgs - su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs/libsearpc; abuild -r' + su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs/hunspell-pl; abuild -r' echo "/home/runner/packages/srcpkgs" >> /etc/apk/repositories - su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ | grep -v libsearpc); do cd $i && abuild -r; cd .. ; done' + su - runner -c 'export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"; cd srcpkgs; for i in $(ls ./ | grep -v hunspell-pl); do cd $i && abuild -r; cd .. ; done' - name: Mount and upload run: | su - runner -c 'mkdir hole'