Attempt to fix deltachat-rpc-server binary release uploads

This commit is contained in:
link2xt
2023-03-23 17:19:28 +00:00
parent 124a0e90e1
commit 7add1c116c

View File

@@ -84,35 +84,15 @@ jobs:
contents: write contents: write
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- name: Download deltachat-rpc-server-x86_64 - name: Download built binaries
uses: "actions/download-artifact@v3" 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 - name: Compose dist/ directory
uses: "actions/download-artifact@v3" run: |
with: mkdir dist
name: "deltachat-rpc-server-aarch64" for x in x86_64 aarch64 armv7 win32.exe win64.exe; do
path: "dist/deltachat-rpc-server-aarch64" mv "deltachat-rpc-server-$x"/* "dist/deltachat-rpc-server-$x"
done
- 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: List downloaded artifacts - name: List downloaded artifacts
run: ls -l dist/ run: ls -l dist/
@@ -123,4 +103,4 @@ jobs:
run: | run: |
gh release upload ${{ github.ref_name }} \ gh release upload ${{ github.ref_name }} \
--repo ${{ github.repository }} \ --repo ${{ github.repository }} \
dist/deltachat-rpc-server-* dist/*