From 59c184be1812ffa5329646830b19844834528668 Mon Sep 17 00:00:00 2001 From: Aaron Pham <29749331+aarnphm@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:56:25 +0000 Subject: [PATCH] fix(ci): set absolute path for nix for non-interactive shell Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com> --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9446f3c88..5436930bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: username: ${{secrets.PAPERSPACE_USERNAME}} key: ${{secrets.PAPERSPACE_SSH_KEY}} port: ${{secrets.PAPERSPACE_PORT}} - script: nix run github:aarnphm/dix#openllm-ci --refresh -- --pr ${{github.event.number}} + script: /nix/var/nix/profiles/default/bin/nix run github:aarnphm/dix#openllm-ci --refresh -- --pr ${{github.event.number}} - name: running regression tests (main) uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # ratchet:appleboy/ssh-action@v1.0.3 if: ${{ !github.event.repository.fork && github.event_name == 'push' }} @@ -46,7 +46,7 @@ jobs: username: ${{secrets.PAPERSPACE_USERNAME}} key: ${{secrets.PAPERSPACE_SSH_KEY}} port: ${{secrets.PAPERSPACE_PORT}} - script: nix run github:aarnphm/dix#openllm-ci --refresh -- --head + script: /nix/var/nix/profiles/default/bin/nix run github:aarnphm/dix#openllm-ci --refresh -- --head evergreen: # https://github.com/marketplace/actions/alls-green#why if: always() needs: