Skip to content

Commit

Permalink
Update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crow committed Dec 7, 2024
1 parent d97bd6c commit 477da30
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
- "[0-9]+.[0-9]+.[0-9]+*"

env:
DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
FLUTTER_VERSION: 3.24.3
JAVA_VERSION: "17.x"
JAVA_DISTRIBUTION: 'zulu'

jobs:
ci:
runs-on: macos-14-xlarge
runs-on: macos-15-xlarge

steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_VERSION}}
- name: Run CI
Expand All @@ -32,8 +32,6 @@ jobs:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
flutter: true

release-plugin-github:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -90,7 +88,7 @@ jobs:
url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}

release-docs:
runs-on: macos-14-xlarge
runs-on: macos-15-xlarge
needs: [ ci, release-plugin-github ]
steps:
- uses: actions/checkout@v3
Expand All @@ -105,7 +103,7 @@ jobs:
java-version: ${{ env.JAVA_VERSION }}

- name: Flutter action
uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}

Expand Down Expand Up @@ -134,4 +132,4 @@ jobs:
with:
type: ${{ job.status }}
job_name: ":raised_hands: Airship Flutter Plugin Released! :raised_hands:"
url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}
url: ${{ secrets.MOBILE_SLACK_WEBHOOK }}

0 comments on commit 477da30

Please sign in to comment.