Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -271,7 +271,7 @@ jobs:
|
|||||||
echo "$1" | \
|
echo "$1" | \
|
||||||
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
||||||
tr -s ' ' | \
|
tr -s ' ' | \
|
||||||
sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
|
sed 's/^ *//;s/ *$//'
|
||||||
}
|
}
|
||||||
|
|
||||||
mapfile -t changed_skins < "$CHANGED_SKINS_FILE"
|
mapfile -t changed_skins < "$CHANGED_SKINS_FILE"
|
||||||
@@ -338,7 +338,7 @@ jobs:
|
|||||||
echo "$1" | \
|
echo "$1" | \
|
||||||
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
||||||
tr -s ' ' | \
|
tr -s ' ' | \
|
||||||
sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
|
sed 's/^ *//;s/ *$//'
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$CHANGED_SKINS_FILE" ] || [ ! -s "$CHANGED_SKINS_FILE" ]; then
|
if [ -z "$CHANGED_SKINS_FILE" ] || [ ! -s "$CHANGED_SKINS_FILE" ]; then
|
||||||
@@ -426,7 +426,7 @@ jobs:
|
|||||||
echo "$1" | \
|
echo "$1" | \
|
||||||
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
||||||
tr -s ' ' | \
|
tr -s ' ' | \
|
||||||
sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
|
sed 's/^ *//;s/ *$//'
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "${CHANGED_SKINS_FILE:-}" ] || [ ! -s "$CHANGED_SKINS_FILE" ]; then
|
if [ -z "${CHANGED_SKINS_FILE:-}" ] || [ ! -s "$CHANGED_SKINS_FILE" ]; then
|
||||||
@@ -482,7 +482,7 @@ jobs:
|
|||||||
echo "$1" | \
|
echo "$1" | \
|
||||||
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
sed -e 's#[\\/:\*\?"<>|]#-#g' -e 's#%#_#g' | \
|
||||||
tr -s ' ' | \
|
tr -s ' ' | \
|
||||||
sed 's/^[[:space:]]*//;s/[[:space:]]*$//'
|
sed 's/^ *//;s/ *$//'
|
||||||
}
|
}
|
||||||
|
|
||||||
SKINS_JSON_FILE="${{ github.workspace }}/.gitea/workflows/skins.json"
|
SKINS_JSON_FILE="${{ github.workspace }}/.gitea/workflows/skins.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user