Skip to content

Commit b3b9f13

Browse files
committed
chore(ci/cd): also allow comma-separated plugin list
1 parent 7bd40db commit b3b9f13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/lf-build-windows-x86_64.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
shell: 'bash'
3838
run: |
3939
echo "LFMP_ARCH=x86_64" >> $GITHUB_ENV
40-
echo "LFMP_COMPILE_PLUGINS=${{ github.event.inputs.compile-plugins }}" >> $GITHUB_ENV
40+
PLUGS="${{ github.event.inputs.compile-plugins }}"
41+
# accept either "a b c" or "a,b,c"
42+
PLUGS="${PLUGS//,/ }"
43+
echo "LFMP_COMPILE_PLUGINS=$PLUGS" >> $GITHUB_ENV
4144
echo "LFMP_PACKAGE_ITERATION=${{ github.event.inputs.package-iteration }}" >> $GITHUB_ENV
4245
echo "LFMP_VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
4346
# echo "LFMP_TARGET_DISTROS=${{ github.event.inputs.target-distros }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)