Skip to content

Commit

Permalink
Show actual and expected plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Jan 17, 2025
1 parent b203e15 commit 5ba3185
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ jobs:
ls -l "${RUNNER_TEMP}/linuxdeploy"
linuxdeploy-"${LINUXDEPLOY_ARCH}".AppImage --list-plugins | tee "${RUNNER_TEMP}/plugins.txt"
plugins=($(sed -Ee '0,/^Available plugins:/d' -e 's/:.*//' "${RUNNER_TEMP}/plugins.txt" | sort))
[[ "${plugins[@]}" = "${PLUGINS}" ]]
[[ "${plugins[@]}" == "${PLUGINS}" ]] || {
echo "Expected: '${PLUGINS}'"
echo "Actual: '${plugins[@]}'"
false
}
env:
LINUXDEPLOY_ARCH: ${{ endsWith(matrix.os, '-arm') && 'aarch64' || 'x86_64' }}
strategy:
Expand Down

0 comments on commit 5ba3185

Please sign in to comment.