|
|
@ -9,9 +9,6 @@ concurrency: |
|
|
|
group: publish |
|
|
|
group: publish |
|
|
|
cancel-in-progress: true |
|
|
|
cancel-in-progress: true |
|
|
|
|
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
PUB_CACHE: ~/.pub-cache |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
setup: |
|
|
|
setup: |
|
|
|
name: Setup |
|
|
|
name: Setup |
|
|
@ -40,23 +37,6 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
flutter-version: ${{ steps.fvm_config.outputs.FLUTTER_VERSION }} |
|
|
|
flutter-version: ${{ steps.fvm_config.outputs.FLUTTER_VERSION }} |
|
|
|
channel: ${{ steps.fvm_config.outputs.FLUTTER_CHANNEL }} |
|
|
|
channel: ${{ steps.fvm_config.outputs.FLUTTER_CHANNEL }} |
|
|
|
cache: true |
|
|
|
|
|
|
|
- name: Pub dependency cache |
|
|
|
|
|
|
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: ${{ env.PUB_CACHE }} |
|
|
|
|
|
|
|
key: ${{ runner.os }}-pub-${{ hashFiles('**/pubspec.lock') }} |
|
|
|
|
|
|
|
restore-keys: | |
|
|
|
|
|
|
|
${{ runner.os }}-pub- |
|
|
|
|
|
|
|
- name: Gradle dependency cache |
|
|
|
|
|
|
|
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
path: | |
|
|
|
|
|
|
|
~/.gradle/caches |
|
|
|
|
|
|
|
~/.gradle/wrapper |
|
|
|
|
|
|
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} |
|
|
|
|
|
|
|
restore-keys: | |
|
|
|
|
|
|
|
${{ runner.os }}-gradle- |
|
|
|
|
|
|
|
- name: Set up JDK 11 |
|
|
|
- name: Set up JDK 11 |
|
|
|
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3 |
|
|
|
uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2 # v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|