From b16ee17dc0800c16e7a2f94554af7e362c0acd1c Mon Sep 17 00:00:00 2001 From: NotNotARobot <164791169+NotNotARobot@users.noreply.github.com> Date: Sat, 4 Jan 2025 15:50:05 -0500 Subject: [PATCH] use `working-directory` instead of bash commands --- .github/actions/setup-env/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index 8ef59df42a..4a8be227c6 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -59,12 +59,11 @@ runs: # make running the target program easier - name: Build CI/CD shell: bash + working-directory: ./cicd run: | - cd cicd/ for CMD in $(ls cmd); do go build ./cmd/$CMD done - cd .. - name: Setup Java uses: ./.github/actions/setup-java-env with: