Try to fix navigation bar background color of feedback form #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: swift | |
on: | |
push: | |
paths: | |
- "**/*.swift" | |
- ".github/workflows/swift.yml" | |
pull_request: | |
paths: | |
- "**/*.swift" | |
- ".github/workflows/swift.yml" | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: swift build ios | |
run: | | |
sdk=`xcrun -sdk iphonesimulator -show-sdk-path` | |
sdkVersion=`echo $sdk | sed -E 's/.*iPhoneSimulator(.*)\.sdk/\1/'` | |
swift build -Xswiftc "-sdk" -Xswiftc "$sdk" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios$sdkVersion-simulator" |