Skip to content

Commit 4f9d65b

Browse files
CopilotSaviq
andcommitted
Use upload-artifact for mir.json and drop diff from spread task
Co-authored-by: Saviq <231077+Saviq@users.noreply.github.com>
1 parent 19d5363 commit 4f9d65b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/spread.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@ jobs:
136136
tools/make_release_tarball --skip-checks
137137
snap run spread-mir-ci.spread -reuse -v ${{ matrix.spread-task }}
138138
139+
- name: Upload Wayland Explorer JSON
140+
if: endsWith(matrix['spread-task'], ':ubuntu')
141+
uses: actions/upload-artifact@v4
142+
with:
143+
name: mir.json
144+
path: ${{ env.SPREAD_PATH }}/spread/sbuild/mir.json
145+
if-no-files-found: error
146+
139147
- name: CCache stats
140148
run: cat ${CCACHE_DIR}/ccache.stats
141149

spread/sbuild/task.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ execute: |
177177
178178
cargo install wlprobe
179179
180-
git clone https://github.com/vially/wayland-explorer.git /tmp/wayland-explorer
181-
182180
MIR_VERSION=$(dpkg-query -W -f='${Version}' libmiral-dev | sed 's/-.*//')
183181
MIR_JSON_OUTPUT="$SPREAD_PATH/$SPREAD_TASK/mir.json"
184182
export XDG_RUNTIME_DIR=/tmp MIR_VERSION MIR_JSON_OUTPUT PATH="$HOME/.cargo/bin:$PATH"
@@ -198,6 +196,4 @@ execute: |
198196
199197
WLPROBE
200198
201-
diff /tmp/wayland-explorer/src/data/compositors/mir.json "$MIR_JSON_OUTPUT" || true
202-
203199
fi

0 commit comments

Comments
 (0)