Skip to content

Commit

Permalink
Fixes find command
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Nov 10, 2023
1 parent 0db8b4b commit 4b01d12
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/flink-ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ jobs:
mkdir -p ${{ env.CHECKOUT_DIR }}
# mv doesn't work out-of-the-box with hidden files (i.e. file name starts with a dot).
# Using find is a workaround to achieve the same.
find ${{ env.CONTAINER_WORKING_DIR }} -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
cd ${{ env.CONTAINER_WORKING_DIR }}
find . -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
- name: "Compile Flink"
working-directory: ${{ env.CHECKOUT_DIR }}
Expand Down Expand Up @@ -169,7 +170,8 @@ jobs:
mkdir -p ${{ env.CHECKOUT_DIR }}
# mv doesn't work out-of-the-box with hidden files (i.e. file name starts with a dot).
# Using find is a workaround to achieve the same.
find ${{ env.CONTAINER_WORKING_DIR }} -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
cd ${{ env.CONTAINER_WORKING_DIR }}
find . -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
- name: "Download build artifacts from compile job"
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -236,7 +238,8 @@ jobs:
mkdir -p ${{ env.CHECKOUT_DIR }}
# mv doesn't work out-of-the-box with hidden files (i.e. file name starts with a dot).
# Using find is a workaround to achieve the same.
find ${{ env.CONTAINER_WORKING_DIR }} -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
cd ${{ env.CONTAINER_WORKING_DIR }}
find . -mindepth 1 -maxdepth 1 -exec mv {} ${{ env.CHECKOUT_DIR }}/{} \;
- name: "Set coredump pattern"
working-directory: ${{ env.CHECKOUT_DIR }}
Expand Down

0 comments on commit 4b01d12

Please sign in to comment.