From 57583892ac75730e35253b336b009f5ed49d94ef Mon Sep 17 00:00:00 2001 From: yougotwill Date: Fri, 7 Mar 2025 16:57:59 +1100 Subject: [PATCH] fix: dont nest artifacts folder when building with multiarch --- actions/upload_prod_artefacts/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/actions/upload_prod_artefacts/action.yml b/actions/upload_prod_artefacts/action.yml index 1c02c4bcf..bcdd29b2f 100644 --- a/actions/upload_prod_artefacts/action.yml +++ b/actions/upload_prod_artefacts/action.yml @@ -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/