From 9bd1452295899c1ecea4ceafb61e0bc250d50f78 Mon Sep 17 00:00:00 2001 From: Liz/Alice Cray Date: Sun, 22 Oct 2023 18:21:23 -0400 Subject: [PATCH] Attempt root override take 2 --- .gitea/workflows/linux.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/linux.yaml b/.gitea/workflows/linux.yaml index e219fda6..313cb358 100644 --- a/.gitea/workflows/linux.yaml +++ b/.gitea/workflows/linux.yaml @@ -6,18 +6,15 @@ jobs: Explore-Gitea-Actions: runs-on: ubuntu-latest steps: - - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v3 - uses: actions-rs/toolchain@v1 with: toolchain: stable - name: Setup build dependencies - run: alias id="echo 1;#"; /usr/bin/yes | ./dev-setup/install_linux_prerequisites.sh + run: /usr/bin/yes | /bin/bash -c "set -eo pipefail; $(/usr/bin/tail -n $((`/usr/bin/wc -l ./dev-setup/install_linux_prerequisites.sh | /usr/bin/sed -e 's/^\([0-9]\+\).*$/\1/'` - 8)) ./dev-setup/install_linux_prerequisites.sh)" - name: Setup Linux Environment - run: /usr/bin/yes | ./dev-setup/setup_linux.sh + run: /usr/bin/yes | /bin/bash -c "set -eo pipefail; $(/usr/bin/tail -n $((`/usr/bin/wc -l ./dev-setup/setup_linux.sh | /usr/bin/sed -e 's/^\([0-9]\+\).*$/\1/'` - 8)) ./dev-setup/setup_linux.sh)" - name: Build Veilid uses: actions-rs/cargo@v1 with: