From 349c154a993aa7afa99ac6a46e9c335b55130298 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 22 Oct 2023 15:23:49 +0000 Subject: [PATCH] ci: attempt to fix artifacts download for deltachat-rpc-server Had to do this step manually for 1.126.0, hopefully the step will work automatically for 1.127.0. --- .github/workflows/deltachat-rpc-server.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deltachat-rpc-server.yml b/.github/workflows/deltachat-rpc-server.yml index 356534fe3..c8c5a04a5 100644 --- a/.github/workflows/deltachat-rpc-server.yml +++ b/.github/workflows/deltachat-rpc-server.yml @@ -117,19 +117,25 @@ jobs: uses: actions/download-artifact@v3 with: name: deltachat-rpc-server-win32.exe - path: dist/deltachat-rpc-server-win32.exe + path: deltachat-rpc-server-win32.exe.d - name: Download win64 binary uses: actions/download-artifact@v3 with: name: deltachat-rpc-server-win64.exe - path: dist/deltachat-rpc-server-win32.exe + path: deltachat-rpc-server-win64.exe.d - name: Download macOS binary uses: actions/download-artifact@v3 with: name: deltachat-rpc-server-x86_64-macos - path: dist/deltachat-rpc-server-x86_64-macos + path: deltachat-rpc-server-x86_64-macos.d + + - name: Flatten dist/ directory + run: | + mv deltachat-rpc-server-win32.exe.d/deltachat-rpc-server dist/deltachat-rpc-server-win32.exe + mv deltachat-rpc-server-win64.exe.d/deltachat-rpc-server dist/deltachat-rpc-server-win64.exe + mv deltachat-rpc-server-x86_64-macos.d/deltachat-rpc-server dist/deltachat-rpc-server-x86_64-macos - name: List downloaded artifacts run: ls -l dist/