From be0bdb99d8a4fe8032ce7f9cd4197f6921424259 Mon Sep 17 00:00:00 2001 From: yougotwill Date: Wed, 19 Feb 2025 15:02:42 +1100 Subject: [PATCH] fix: using mv still catches the production folder we need to ls files and then grep --- actions/upload_prod_artefacts/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/upload_prod_artefacts/action.yml b/actions/upload_prod_artefacts/action.yml index 53d2b53c7..595cf7cfc 100644 --- a/actions/upload_prod_artefacts/action.yml +++ b/actions/upload_prod_artefacts/action.yml @@ -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