fix: bash does not support ls -f

pull/3281/head
yougotwill 2 months ago
parent 5cca192763
commit b54b419a88

@ -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

Loading…
Cancel
Save