@@ -133,42 +133,9 @@ jobs:
133133 "{\"nodeVersion\": \"${{ needs.release-versions.outputs.node-version }}\", \"denoVersion\": \"${{ needs.release-versions.outputs.deno-version }}\", \"compatibleMongoVersions\": [\"5.0\", \"6.0\", \"7.0\"], \"commit\": \"$GITHUB_SHA\", \"tag\": \"$RC_VERSION\", \"branch\": \"$GIT_BRANCH\", \"artifactName\": \"$ARTIFACT_NAME\", \"releaseType\": \"draft\", \"draftAs\": \"$RC_RELEASE\"}" \
134134 https://releases.rocket.chat/update
135135
136- build-homeserver :
137- name : 📦 Build Homeserver
138- needs : [release-versions]
139- runs-on : ubuntu-24.04
140- steps :
141- - uses : actions/checkout@v4
142- with :
143- repository : RocketChat/homeserver
144- path : homeserver
145-
146- - uses : actions/cache@v4
147- id : cache-homeserver
148- name : cache homeserver
149- with :
150- path : /tmp/homeserver
151- key : homeserver-${{ hashFiles('homeserver/.git/refs/heads/main') }}
152-
153- - uses : oven-sh/setup-bun@v2
154- if : steps.cache-homeserver.outputs.cache-hit != 'true'
155- - run : |
156- cd homeserver
157- bun install
158- bun run build
159- bun run bundle:sdk
160- rm -rf .git
161- cp -r ../homeserver /tmp/homeserver
162- if: steps.cache-homeserver.outputs.cache-hit != 'true'
163-
164- - uses : actions/upload-artifact@v4
165- with :
166- name : homeserver
167- path : /tmp/homeserver
168-
169136 packages-build :
170137 name : 📦 Build Packages
171- needs : [release-versions, notify-draft-services, build-homeserver ]
138+ needs : [release-versions, notify-draft-services]
172139 runs-on : ubuntu-24.04
173140 steps :
174141 - name : Github Info
@@ -188,13 +155,6 @@ jobs:
188155
189156 - uses : actions/checkout@v4
190157
191- - uses : actions/download-artifact@v4
192- with :
193- name : homeserver
194- path : /tmp/homeserver
195-
196- - run : ln -s /tmp/homeserver ${{ github.workspace }}/homeserver
197-
198158 - name : Setup NodeJS
199159 uses : ./.github/actions/setup-node
200160 with :
@@ -228,7 +188,7 @@ jobs:
228188
229189 build :
230190 name : 📦 Meteor Build - coverage
231- needs : [release-versions, packages-build, build-homeserver ]
191+ needs : [release-versions, packages-build]
232192 runs-on : ubuntu-24.04
233193
234194 steps :
@@ -250,12 +210,6 @@ jobs:
250210
251211 - uses : actions/checkout@v4
252212
253- - uses : actions/download-artifact@v4
254- with :
255- name : homeserver
256- path : /tmp/homeserver
257- - run : ln -s /tmp/homeserver ${{ github.workspace }}/homeserver
258-
259213 - uses : ./.github/actions/meteor-build
260214 with :
261215 node-version : ${{ needs.release-versions.outputs.node-version }}
@@ -340,7 +294,7 @@ jobs:
340294
341295 build-gh-docker-coverage :
342296 name : 🚢 Build Docker Images for Testing
343- needs : [build, release-versions, build-matrix-rust-bindings-for-alpine, build-homeserver ]
297+ needs : [build, release-versions, build-matrix-rust-bindings-for-alpine]
344298 runs-on : ubuntu-24.04
345299
346300 env :
@@ -357,12 +311,6 @@ jobs:
357311 steps :
358312 - uses : actions/checkout@v4
359313
360- - uses : actions/download-artifact@v4
361- with :
362- name : homeserver
363- path : /tmp/homeserver
364- - run : ln -s /tmp/homeserver ${{ github.workspace }}/homeserver
365-
366314 # we only build and publish the actual docker images if not a PR from a fork
367315 - uses : ./.github/actions/build-docker
368316 if : (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'release' || github.ref == 'refs/heads/develop') && github.actor != 'dependabot[bot]'
0 commit comments