Update ci.yml (#778)
This commit is contained in:
parent
a58b3f0b88
commit
ce7ad236fc
|
@ -5,6 +5,8 @@ on:
|
|||
branches: [ main ]
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches: [ main ]
|
||||
|
@ -46,9 +48,14 @@ jobs:
|
|||
key: ${{ runner.os }}-${{ matrix.scheme }}-spm-${{ hashFiles('**/Package.resolved') }}
|
||||
restore-keys: ${{ runner.os }}-${{ matrix.scheme }}-spm-
|
||||
|
||||
- name: xcodebuild!
|
||||
run: |
|
||||
xcodebuild build -project "Swiftfin.xcodeproj" \
|
||||
-scheme "${{ matrix.scheme }}" \
|
||||
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
|
||||
- name: Build
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
timeout_minutes: 60
|
||||
command: |
|
||||
xcodebuild build -project "Swiftfin.xcodeproj" \
|
||||
-scheme "${{ matrix.scheme }}" \
|
||||
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@ name: "Lint 🧹"
|
|||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches: [ main ]
|
||||
|
|
Loading…
Reference in New Issue