From ec75c7a227866084ae4b7bdeb08135cf7a688b1f Mon Sep 17 00:00:00 2001 From: Stevan Andjelkovic Date: Tue, 22 Oct 2024 15:46:16 +0200 Subject: [PATCH] ci: split find up --- .github/workflows/main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 9c0d179..76b3674 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -183,8 +183,9 @@ jobs: ls -R "${{github.workspace }}/dist-newstyle/build" mkdir -p "${{ github.workspace }}/bin" cp "$(find ${{ github.workspace }}/dist-newstyle \ - \( -name spex -o -name spex-demo-petstore \) -type f -executable)" \ - "${{ github.workspace }}/bin" + -name spex -type f -executable)" "${{ github.workspace }}/bin" + cp "$(find ${{ github.workspace }}/dist-newstyle \ + -name spex-demo-petstore -type f -executable)" "${{ github.workspace }}/bin" - name: Create new git tag, if merge to main and .cabal version is bumped if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}