aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/.github/workflows
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-06-02 16:36:57 +0000
committerMario <mario@mariovavti.com>2023-06-02 16:36:57 +0000
commitbd84ff483887c55c6ede4ba94e1a9175e34090b8 (patch)
tree799929705f903f4ba4111ca37d5028180371b621 /vendor/twbs/bootstrap/.github/workflows
parent87689df062f09adf104ff996b7bc942ba508a2b4 (diff)
downloadvolse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.tar.gz
volse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.tar.bz2
volse-hubzilla-bd84ff483887c55c6ede4ba94e1a9175e34090b8.zip
update bootstrap to version 5.3
Diffstat (limited to 'vendor/twbs/bootstrap/.github/workflows')
-rw-r--r--vendor/twbs/bootstrap/.github/workflows/node-sass.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/vendor/twbs/bootstrap/.github/workflows/node-sass.yml b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
index d83e3e70f..c558e447a 100644
--- a/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
+++ b/vendor/twbs/bootstrap/.github/workflows/node-sass.yml
@@ -35,14 +35,15 @@ jobs:
npx --package node-sass@latest node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist-sass/css/
ls -Al dist-sass/css
- # Check that there are no Sass variables (`$`)
- - name: Check built CSS files
+ - name: Check built CSS files for Sass variables
shell: bash
run: |
- if [[ $(find dist-sass/css/ -name "*.css" | xargs grep -F "\$" | wc -l | bc) -eq 0 ]]; then
- echo "All good, no Sass variables found"
+ SASS_VARS_FOUND=$(find "dist-sass/css/" -type f -name "*.css" -print0 | xargs -0 --no-run-if-empty grep -F "\$" || true)
+ if [[ -z "$SASS_VARS_FOUND" ]]; then
+ echo "All good, no Sass variables found!"
exit 0
else
- echo "Found Sass variables!"
+ echo "Found $(echo "$SASS_VARS_FOUND" | wc -l | bc) Sass variables:"
+ echo "$SASS_VARS_FOUND"
exit 1
fi