diff --git a/actions/upload_prod_artefacts/action.yml b/actions/upload_prod_artefacts/action.yml index 869a1788a..c12a3b141 100644 --- a/actions/upload_prod_artefacts/action.yml +++ b/actions/upload_prod_artefacts/action.yml @@ -26,14 +26,14 @@ runs: - name: Move all files if: ${{ inputs.multiarch_build == 'false' }} run: | - ls -f -- | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/ + ls -p | grep -v / | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/ shell: bash working-directory: ./release/ - name: Move ${{ inputs.upload_prefix }} files if: ${{ inputs.multiarch_build == 'true' }} run: | - ls -f -- | grep ${{inputs.upload_prefix}} | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/ + ls -p | grep -v / | grep ${{inputs.upload_prefix}} | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/ cp *latest*.yml production-${{ inputs.upload_prefix }}/ cp builder-debug.yml production-${{ inputs.upload_prefix }}/ shell: bash