@@ -50,35 +50,28 @@ jobs:
5050 runners-matrix : ${{ steps.runner-vars.outputs.matrix }}
5151 steps :
5252 - name : Checkout code
53- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
5454 with :
5555 repository : element-hq/element-web
5656
57- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
57+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
5858 with :
5959 cache : " yarn"
6060 node-version : " lts/*"
6161
6262 - name : Fetch layered build
63- id : layered_build
6463 env :
6564 # tell layered.sh to check out the right sha of the JS-SDK & EW, if they were given one
6665 JS_SDK_GITHUB_BASE_REF : ${{ inputs.matrix-js-sdk-sha }}
67- run : |
68- scripts/layered.sh
69- JSSDK_SHA=$(git -C matrix-js-sdk rev-parse --short=12 HEAD)
70- VECTOR_SHA=$(git rev-parse --short=12 HEAD)
71- echo "VERSION=$VECTOR_SHA--js-$JSSDK_SHA" >> $GITHUB_OUTPUT
66+ run : scripts/layered.sh
7267
7368 - name : Copy config
7469 run : cp element.io/develop/config.json config.json
7570
7671 - name : Build
7772 env :
7873 CI_PACKAGE : true
79- VERSION : " ${{ steps.layered_build.outputs.VERSION }}"
80- run : |
81- yarn build
74+ run : VERSION=$(scripts/get-version-from-git.sh) yarn build
8275
8376 - name : Upload Artifact
8477 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8982
9083 - name : Calculate runner variables
9184 id : runner-vars
92- uses : actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
85+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
9386 with :
9487 script : |
9588 const numRunners = parseInt(process.env.NUM_RUNNERS, 10);
@@ -129,18 +122,18 @@ jobs:
129122 - runAllTests : false
130123 project : Pinecone
131124 steps :
132- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
125+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
133126 with :
134127 persist-credentials : false
135128 repository : element-hq/element-web
136129
137130 - name : 📥 Download artifact
138- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
131+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
139132 with :
140133 name : webapp
141134 path : webapp
142135
143- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
136+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
144137 with :
145138 cache : " yarn"
146139 cache-dependency-path : yarn.lock
@@ -154,7 +147,7 @@ jobs:
154147 run : echo "version=$(yarn list --pattern @playwright/test --depth=0 --json --non-interactive --no-progress | jq -r '.data.trees[].name')" >> $GITHUB_OUTPUT
155148
156149 - name : Cache playwright binaries
157- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
150+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4
158151 id : playwright-cache
159152 with :
160153 path : ~/.cache/ms-playwright
@@ -201,13 +194,13 @@ jobs:
201194 if : always()
202195 runs-on : ubuntu-24.04
203196 steps :
204- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
197+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
205198 if : inputs.skip != true
206199 with :
207200 persist-credentials : false
208201 repository : element-hq/element-web
209202
210- - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
203+ - uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
211204 if : inputs.skip != true
212205 with :
213206 cache : " yarn"
@@ -219,7 +212,7 @@ jobs:
219212
220213 - name : Download blob reports from GitHub Actions Artifacts
221214 if : inputs.skip != true
222- uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
215+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
223216 with :
224217 pattern : all-blob-reports-*
225218 path : all-blob-reports
0 commit comments