mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-10-26 02:55:22 +08:00
github action
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -10,10 +10,12 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [macos-latest]
|
os: [macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '8.x'
|
distribution: 'temurin'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
- uses: subosito/flutter-action@v1
|
- uses: subosito/flutter-action@v1
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
@ -32,10 +34,12 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-java@v1
|
- uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: '8.x'
|
distribution: 'temurin'
|
||||||
|
java-version: '11'
|
||||||
|
cache: 'gradle'
|
||||||
- uses: subosito/flutter-action@v1
|
- uses: subosito/flutter-action@v1
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
|
|||||||
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -9,8 +9,8 @@ jobs:
|
|||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: sakebook/actions-flutter-pub-publisher@v1.3.0
|
- uses: sakebook/actions-flutter-pub-publisher@v1.4.0
|
||||||
with:
|
with:
|
||||||
credential: ${{ secrets.CREDENTIAL_JSON }}
|
credential: ${{ secrets.CREDENTIAL_JSON }}
|
||||||
flutter_package: true
|
flutter_package: true
|
||||||
|
|||||||
4
.github/workflows/publish_manually.yml
vendored
4
.github/workflows/publish_manually.yml
vendored
@ -7,8 +7,8 @@ jobs:
|
|||||||
name: Publish Manually
|
name: Publish Manually
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: sakebook/actions-flutter-pub-publisher@v1.3.0
|
- uses: sakebook/actions-flutter-pub-publisher@v1.4.0
|
||||||
with:
|
with:
|
||||||
credential: ${{ secrets.CREDENTIAL_JSON }}
|
credential: ${{ secrets.CREDENTIAL_JSON }}
|
||||||
flutter_package: true
|
flutter_package: true
|
||||||
|
|||||||
@ -40,10 +40,6 @@ android {
|
|||||||
consumerProguardFiles 'consumer-rules.pro'
|
consumerProguardFiles 'consumer-rules.pro'
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
|
||||||
disable 'InvalidPackage'
|
|
||||||
}
|
|
||||||
|
|
||||||
flavorDimensions 'vendor'
|
flavorDimensions 'vendor'
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
|
|||||||
Reference in New Issue
Block a user