From ea76c3e86c499ec1483feb367a56af733a04f880 Mon Sep 17 00:00:00 2001 From: Alie Date: Sat, 6 Jan 2024 19:19:29 +0100 Subject: [PATCH] test instead of if --- .gitea/workflows/test.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 2525bce..a8af46d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -17,8 +17,7 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - name: Install bun.sh - if: ${{ hashFiles('/root/.bun/bin/bun') == '' }} - run: curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl && bash bun-musl install + run: test -f /root/.bun/bin/bun || curl https://raw.githubusercontent.com/LowByteFox/bun-musl/main/bun-musl -o bun-musl && bash bun-musl install - name: Install project dependencies run: /root/.bun/bin/bun i - name: Run docker-compose