From c5c4a6201b383d65a1a60073f6fd76667bea298d Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Wed, 5 Mar 2025 23:20:38 -0500 Subject: [PATCH] ci: Upload remote server assets to workflow run as well (#26153) Closes #ISSUE Release Notes: - N/A --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 698128bb3c..be11dc5a54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -494,6 +494,13 @@ jobs: name: zed-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.tar.gz path: target/release/zed-*.tar.gz + - name: Upload Linux remote server to workflow run if main branch or specific label + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4 + if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }} + with: + name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-x86_64-unknown-linux-gnu.gz + path: target/zed-remote-server-linux-x86_64.gz + - name: Upload app bundle to release uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1 with: @@ -542,6 +549,13 @@ jobs: name: zed-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.tar.gz path: target/release/zed-*.tar.gz + - name: Upload Linux remote server to workflow run if main branch or specific label + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4 + if: ${{ github.ref == 'refs/heads/main' }} || contains(github.event.pull_request.labels.*.name, 'run-bundling') }} + with: + name: zed-remote-server-${{ github.event.pull_request.head.sha || github.sha }}-aarch64-unknown-linux-gnu.gz + path: target/zed-remote-server-linux-aarch64.gz + - name: Upload app bundle to release uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v1 with: