From 7add1c116c7f29323a015eac87e49ab6f6bdf0c4 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 23 Mar 2023 17:19:28 +0000 Subject: [PATCH] Attempt to fix deltachat-rpc-server binary release uploads --- .github/workflows/deltachat-rpc-server.yml | 36 +++++----------------- 1 file changed, 8 insertions(+), 28 deletions(-) diff --git a/.github/workflows/deltachat-rpc-server.yml b/.github/workflows/deltachat-rpc-server.yml index dd074702e..01b8d68e3 100644 --- a/.github/workflows/deltachat-rpc-server.yml +++ b/.github/workflows/deltachat-rpc-server.yml @@ -84,35 +84,15 @@ jobs: contents: write runs-on: "ubuntu-latest" steps: - - name: Download deltachat-rpc-server-x86_64 + - name: Download built binaries uses: "actions/download-artifact@v3" - with: - name: "deltachat-rpc-server-x86_64" - path: "dist/deltachat-rpc-server-x86_64" - - name: Download deltachat-rpc-server-aarch64 - uses: "actions/download-artifact@v3" - with: - name: "deltachat-rpc-server-aarch64" - path: "dist/deltachat-rpc-server-aarch64" - - - name: Download deltachat-rpc-server-armv7 - uses: "actions/download-artifact@v3" - with: - name: "deltachat-rpc-server-armv7" - path: "dist/deltachat-rpc-server-armv7" - - - name: Download deltachat-rpc-server-win32.exe - uses: "actions/download-artifact@v3" - with: - name: "deltachat-rpc-server-win32.exe" - path: "dist/deltachat-rpc-server-win32.exe" - - - name: Download deltachat-rpc-server-win64.exe - uses: "actions/download-artifact@v3" - with: - name: "deltachat-rpc-server-win64.exe" - path: "dist/deltachat-rpc-server-win64.exe" + - name: Compose dist/ directory + run: | + mkdir dist + for x in x86_64 aarch64 armv7 win32.exe win64.exe; do + mv "deltachat-rpc-server-$x"/* "dist/deltachat-rpc-server-$x" + done - name: List downloaded artifacts run: ls -l dist/ @@ -123,4 +103,4 @@ jobs: run: | gh release upload ${{ github.ref_name }} \ --repo ${{ github.repository }} \ - dist/deltachat-rpc-server-* + dist/*