fix: dont nest artifacts folder when building with multiarch

pull/3281/head
yougotwill 1 month ago
parent 861b43924d
commit 57583892ac

@ -19,28 +19,28 @@ runs:
working-directory: ./release/
- name: Make artefacts folder
run: mkdir -p production-${{ inputs.upload_prefix }}
run: mkdir -p ${{ inputs.upload_prefix }}-production
shell: bash
working-directory: ./release/
- name: Move all files
if: ${{ inputs.multiarch_build == 'false' }}
run: |
ls -p | grep -v / | xargs -I{} mv {} production-${{ inputs.upload_prefix }}/
ls -p | grep -v / | xargs -I{} mv {} ${{ inputs.upload_prefix }}-production/
shell: bash
working-directory: ./release/
- name: Move ${{ inputs.upload_prefix }} files
if: ${{ inputs.multiarch_build == 'true' }}
run: |
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 }}/
ls -p | grep -v / | grep ${{inputs.upload_prefix}} | xargs -I{} mv {} ${{ inputs.upload_prefix }}-production/
cp *latest*.yml ${{ inputs.upload_prefix }}-production/
cp builder-debug.yml ${{ inputs.upload_prefix }}-production/
shell: bash
working-directory: ./release/
- name: Artefact files
run: ls production-${{ inputs.upload_prefix }}/
run: ls ${{ inputs.upload_prefix }}-production/
shell: bash
working-directory: ./release/

Loading…
Cancel
Save