fix: using mv still catches the production folder

we need to ls files and then grep
pull/3281/head
yougotwill 2 months ago
parent 0ad1a9e43f
commit be0bdb99d8

@ -33,7 +33,7 @@ runs:
- name: Move ${{ inputs.upload_prefix }} files
if: ${{ inputs.multiarch_build == 'true' }}
run: |
mv *${{inputs.upload_prefix}}* production-${{ inputs.upload_prefix }}/
ls -f -- | grep ${{inputs.upload_prefix}} | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/
mv *latest*.yml production-${{ inputs.upload_prefix }}/
mv builder-debug.yml production-${{ inputs.upload_prefix }}/
shell: bash

Loading…
Cancel
Save