generated from osc/skins-template
test
This commit is contained in:
@@ -3,7 +3,7 @@ description: "Remove leftover or outdated assets from repository"
|
||||
|
||||
inputs:
|
||||
all_skins:
|
||||
description: "Newline-delimited list of all skins"
|
||||
description: "JSON array of all skins"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
@@ -15,7 +15,7 @@ runs:
|
||||
set -euo pipefail
|
||||
echo "[Cleanup Extra Files Started]"
|
||||
|
||||
readarray -t skins <<< "${{ inputs.all_skins }}"
|
||||
readarray -t skins < <(echo '${{ inputs.all_skins }}' | jq -r '.[]')
|
||||
|
||||
[ -f how-to-use.md ] && rm -f how-to-use.md
|
||||
[ -f src/replay.osr ] && rm -f src/replay.osr
|
||||
|
||||
Reference in New Issue
Block a user