Skip to content

Commit

Permalink
ci: bump version of actions
Browse files Browse the repository at this point in the history
Signed-off-by: CaiJingLong <[email protected]>
  • Loading branch information
CaiJingLong committed Nov 8, 2023
1 parent 4890e46 commit 51ed029
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 21 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-example-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build-apk:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
Expand All @@ -21,7 +21,6 @@ jobs:
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter doctor -v
name: Flutter info
- run: flutter build apk --release
Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/check-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ jobs:
name: Build for Android on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
Expand All @@ -36,12 +35,11 @@ jobs:
name: Build for ios on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter doctor -v
name: Flutter info
- run: flutter create new_project --platforms=ios
Expand All @@ -64,12 +62,11 @@ jobs:
name: Build for Web on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter doctor -v
name: Flutter info
- run: flutter create new_project --platforms=web
Expand All @@ -87,12 +84,11 @@ jobs:
name: Build for Linux on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install required packages
run: |
sudo apt-get update -y
Expand All @@ -116,12 +112,11 @@ jobs:
name: Build for macOS on macos-latest
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter doctor -v
name: Flutter info
- run: flutter create new_project --platforms=macos
Expand All @@ -144,12 +139,11 @@ jobs:
name: Build for Windows on windows-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- run: flutter doctor -v
name: Flutter info
- run: flutter create new_project --platforms=windows
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Copy on publish
run: ./copy_on_publish.sh
- name: Publish
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/runnable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ jobs:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Log Dart/Flutter versions
run: |
dart --version
Expand All @@ -74,14 +75,15 @@ jobs:
if: github.repository == 'fluttercandies/flutter_photo_manager'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Prepare dependencies
run: flutter pub get
- name: Copy before dry run
Expand All @@ -103,13 +105,15 @@ jobs:
matrix:
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '11.x'
java-version: '11'
distribution: 'adopt'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- run: dart --version
- run: flutter --version
- run: flutter pub get
Expand All @@ -124,7 +128,7 @@ jobs:
matrix:
os: [ macos-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
Expand All @@ -133,6 +137,7 @@ jobs:
with:
channel: 'stable'
architecture: x64
cache: true
- run: dart --version
- run: flutter --version
- run: flutter pub get
Expand Down

0 comments on commit 51ed029

Please sign in to comment.