From 9c3dd75b9410b4a1edc70ba0017b6633b696eed1 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 28 Jan 2022 19:02:39 +0000 Subject: [PATCH] Remove sudo --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf56876..44b2674 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,10 +69,10 @@ jobs: - run: chmod +x /usr/local/bin/cross - - run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }} - - run: sudo scripts/build.bash cross ${{ matrix.target }} + - run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }} + - run: scripts/build.bash cross ${{ matrix.target }} # Only test on macOS platforms since we can't simulate the others. - - run: sudo scripts/test.bash cross ${{ matrix.target }} + - run: scripts/test.bash cross ${{ matrix.target }} if: matrix.target == 'x86_64-apple-darwin' strategy: @@ -96,9 +96,9 @@ jobs: name: cross-linux-musl path: /tmp/ - run: chmod +x /tmp/cross - - run: sudo scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }} - - run: sudo scripts/build.bash /tmp/cross ${{ matrix.target }} - - run: sudo scripts/test.bash /tmp/cross ${{ matrix.target }} + - run: scripts/set_rust_version.bash ${{ matrix.channel }} ${{ matrix.target }} + - run: scripts/build.bash /tmp/cross ${{ matrix.target }} + - run: scripts/test.bash /tmp/cross ${{ matrix.target }} if: | !contains(matrix.target, 'android') && !contains(matrix.target, 'bsd') &&