Skip to content

Commit c6f6ee5

Browse files
committed
Add conditional check for swift version
1 parent d82a566 commit c6f6ee5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/codeql-ios.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
print("Inputs validated successfully.")
7676
7777
- name: Force Swift version to 5.0 in Demo target
78+
if: ${{ exists('Demo/Demo.xcodeproj/project.pbxproj')}}
7879
run: |
7980
sed -i '' 's/SWIFT_VERSION = 6.0;/SWIFT_VERSION = 5.0;/g' Demo/Demo.xcodeproj/project.pbxproj
8081

0 commit comments

Comments
 (0)