From 1d234ebe0d949521a89fc02534d7c553c8856c92 Mon Sep 17 00:00:00 2001 From: Ludovic DEHON Date: Thu, 4 Apr 2024 15:29:06 +0200 Subject: [PATCH] fix(cicd): missing distributions dir --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b554d2a1b..267c8abae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,9 +77,10 @@ jobs: # Upload artifacts - name: Copy jar to docker run: | - cp build/libs/*-all.jar docker/app/akhq.jar - cp build/distributions/akhq-*.tar build/distributions/akhq.tar - cp build/distributions/akhq-*.zip build/distributions/akhq.zip + cp build/libs/akhq-*-all.jar docker/app/akhq.jar + mkdir -p build/dist/ + find build/distributions/akhq-*.tar -type f -exec cp "{}" build/dist/ ";" + find build/distributions/akhq-*.zip -type f -exec cp "{}" build/dist/ ";" - name: Upload jar uses: actions/upload-artifact@v1 @@ -107,8 +108,8 @@ jobs: prerelease: false files: | build/libs/*-all.jar - build/distributions/akhq-*.tar - build/distributions/akhq-*.zip + build/dist/akhq-*.tar + build/dist/akhq-*.zip # Docker - name: Set up QEMU