Skip to content

Commit a8679f9

Browse files
committed
ci: Fix composite action syntax error
1 parent ccf36be commit a8679f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/compile-docs/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
using: "composite"
2020
steps:
2121
- name: Compile documentation (with SwiftPM)
22-
if: ${{ inputs.xcodebuild != true }} # Compare to constant to treat empty input as false
22+
if: ${{ inputs.xcodebuild != 'true' }} # Compare to constant to treat empty input as false
2323
run: |
2424
set -ex
2525
mkdir "$TARGET.doccarchive" && \
@@ -39,7 +39,7 @@ runs:
3939
env:
4040
TARGET: ${{ inputs.target }}
4141
- name: Compile documentation (with xcodebuild)
42-
if: ${{ inputs.xcodebuild == "true" }} # Compare to constant to treat empty input as false
42+
if: ${{ inputs.xcodebuild == 'true' }} # Compare to constant to treat empty input as false
4343
run: |
4444
set -ex
4545
destination=""
@@ -57,7 +57,7 @@ runs:
5757
TARGET: ${{ inputs.target }}
5858
DEVICE_TYPE: ${{ inputs.xcodebuild-device-type }}
5959
- uses: actions/upload-artifact@v4
60-
if: ${{ inputs.upload == true }} # Compare to constant to treat empty input as false
60+
if: ${{ inputs.upload == 'true' }} # Compare to constant to treat empty input as false
6161
with:
6262
name: ${{ inputs.target }}.doccarchive
6363
path: ${{ inputs.target }}.doccarchive

0 commit comments

Comments
 (0)