Skip to content

Commit 1324b10

Browse files
Resolves merge conflicts
2 parents 09ae209 + d842345 commit 1324b10

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+764
-816
lines changed

.github/workflows/permission_handler.yaml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ name: permission_handler
66
# events but only for the main branch
77
on:
88
push:
9-
branches: [ main ]
9+
branches: [main]
1010
paths:
11-
- 'permission_handler/**'
12-
- '.github/workflows/permission_handler.yaml'
11+
- "permission_handler/**"
12+
- ".github/workflows/permission_handler.yaml"
1313
pull_request:
14-
branches: [ main ]
14+
branches: [main]
1515
paths:
16-
- 'permission_handler/**'
17-
- '.github/workflows/permission_handler.yaml'
16+
- "permission_handler/**"
17+
- ".github/workflows/permission_handler.yaml"
1818

1919
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2020
jobs:
@@ -23,37 +23,30 @@ jobs:
2323

2424
# The type of runner that the job will run on
2525
#
26-
# TODO(mvanbeusekom): Manually set to macOS 13 to support Xcode 15 and iOS 17 SDKs.
27-
# Currently `macos-latest` is based on macOS 12 and doesn't support iOS 17 SDK. This
26+
# TODO(mvanbeusekom): Manually set to macOS 15 to support Xcode 16 and iOS 18 SDKs.
27+
# Currently `macos-latest` is based on macOS 14 and doesn't support iOS 18 SDK. This
2828
# should be moved back to `macos-latest` when GitHub Actions images are updated.
29-
runs-on: macos-13
29+
runs-on: macos-15
3030

3131
env:
32-
source-directory: ./permission_handler
32+
source-directory: ./permission_handler
3333
example-directory: ./permission_handler/example
3434

3535
# Steps represent a sequence of tasks that will be executed as part of the job
3636
steps:
3737
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3838
- uses: actions/checkout@v3
3939

40-
# Override current Xcode version with version 15.0.1.
41-
#
42-
# TODO(mvanbeusekom): Remove when the macos-latest image supports version 15.0.1
43-
# out of the box (see https://github.com/actions/runner-images/blob/main/README.md).
44-
- name: Select Xcode version
45-
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer'
46-
4740
# Make sure JAVA version 17 is installed on build agent.
4841
- uses: actions/setup-java@v3
4942
with:
50-
distribution: 'temurin' # See 'Supported distributions' for available options
51-
java-version: '17'
43+
distribution: "temurin" # See 'Supported distributions' for available options
44+
java-version: "17"
5245

5346
# Make sure the stable version of Flutter is available
5447
- uses: subosito/flutter-action@v2
5548
with:
56-
channel: 'stable'
49+
channel: "stable"
5750

5851
# Download all Flutter packages
5952
- name: Download dependencies
@@ -64,7 +57,7 @@ jobs:
6457
- name: Run Dart Format
6558
run: dart format --set-exit-if-changed .
6659
working-directory: ${{env.source-directory}}
67-
60+
6861
# Run Flutter Analyzer
6962
- name: Run Flutter Analyzer
7063
run: flutter analyze

.github/workflows/permission_handler_apple.yaml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ name: permission_handler_apple
66
# events but only for the main branch
77
on:
88
push:
9-
branches: [ main ]
9+
branches: [main]
1010
paths:
11-
- 'permission_handler_apple/**'
12-
- '.github/workflows/permission_handler_apple.yaml'
11+
- "permission_handler_apple/**"
12+
- ".github/workflows/permission_handler_apple.yaml"
1313
pull_request:
14-
branches: [ main ]
14+
branches: [main]
1515
paths:
16-
- 'permission_handler_apple/**'
17-
- '.github/workflows/permission_handler_apple.yaml'
16+
- "permission_handler_apple/**"
17+
- ".github/workflows/permission_handler_apple.yaml"
1818

1919
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2020
jobs:
@@ -23,31 +23,24 @@ jobs:
2323

2424
# The type of runner that the job will run on
2525
#
26-
# TODO(mvanbeusekom): Manually set to macOS 13 to support Xcode 15 and iOS 17 SDKs.
27-
# Currently `macos-latest` is based on macOS 12 and doesn't support iOS 17 SDK. This
26+
# TODO(mvanbeusekom): Manually set to macOS 15 to support Xcode 16 and iOS 18 SDKs.
27+
# Currently `macos-latest` is based on macOS 14 and doesn't support iOS 18 SDK. This
2828
# should be moved back to `macos-latest` when GitHub Actions images are updated.
29-
runs-on: macos-13
29+
runs-on: macos-15
3030

3131
env:
3232
source-directory: ./permission_handler_apple
33-
example-directory: ./permission_handler_apple/example
33+
example-directory: ./permission_handler_apple/example
3434

3535
# Steps represent a sequence of tasks that will be executed as part of the job
3636
steps:
3737
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3838
- uses: actions/checkout@v3
3939

40-
# Override current Xcode version with version 15.0.1.
41-
#
42-
# TODO(mvanbeusekom): Remove when the macos-latest image supports version 15.0.1
43-
# out of the box (see https://github.com/actions/runner-images/blob/main/README.md).
44-
- name: Select Xcode version
45-
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer'
46-
4740
# Make sure the stable version of Flutter is available
4841
- uses: subosito/flutter-action@v2
4942
with:
50-
channel: 'stable'
43+
channel: "stable"
5144

5245
# Download all Flutter packages
5346
- name: Download dependencies
@@ -68,4 +61,3 @@ jobs:
6861
- name: Run iOS build
6962
run: flutter build ios --no-codesign --release
7063
working-directory: ${{env.example-directory}}
71-

0 commit comments

Comments
 (0)