fix: sh syntax

This commit is contained in:
张泊明518370910136 2024-09-30 05:47:34 -04:00
parent a81c13449e
commit 5095db99a3
GPG Key ID: CA088E6D9284F870

View File

@ -30,7 +30,7 @@ jobs:
- name: Determine build command
id: build_command
run: |
if [[ "${{ github.event.head_commit.message }}" == *"force build"* ]]; then
if [ "${{ github.event.head_commit.message }}" == *"force build"* ]; then
echo "build_command=make force-build" >> $GITHUB_ENV
else
echo "build_command=make build" >> $GITHUB_ENV