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