Update build workflows

This commit is contained in:
arkon 2022-05-15 13:56:52 -04:00
parent 9e59ce88c0
commit c7303df538
3 changed files with 37 additions and 25 deletions

View File

@ -8,4 +8,3 @@ indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

View File

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
@ -23,15 +23,18 @@ jobs:
strategy:
fail-fast: false
matrix:
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
lang: [all, en, ar, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
# Full list of locales in project, but no APKs are produced for some of them here:
# lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
steps:
- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: adopt
- name: Copy CI gradle.properties
run: |
@ -62,15 +65,18 @@ jobs:
strategy:
fail-fast: false
matrix:
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh]
# Full list of locales in project, but no APKs are produced for some of them here:
# lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
steps:
- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: adopt
- name: Copy CI gradle.properties
run: |

View File

@ -19,7 +19,7 @@ jobs:
all_but_latest: true
- name: Clone repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
@ -31,15 +31,18 @@ jobs:
strategy:
fail-fast: false
matrix:
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
lang: [all, en, ar, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
# Full list of locales in project, but no APKs are produced for some of them here:
# lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
steps:
- name: Checkout master branch
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: adopt
- name: Copy CI files
run: |
@ -52,7 +55,7 @@ jobs:
env:
CI_MULTISRC: "true"
with:
arguments: :multisrc:generateExtensions
arguments: :multisrc:generateExtensions -x ktFormat -x ktLint
cache-disabled: true
- name: Build "${{ matrix.lang }}" extensions
@ -64,7 +67,7 @@ jobs:
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
with:
arguments: assembleRelease
arguments: assembleRelease -x lintKotlin
cache-disabled: true
- name: Upload "${{ matrix.lang }}" APKs
@ -85,15 +88,18 @@ jobs:
strategy:
fail-fast: false
matrix:
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh]
# Full list of locales in project, but no APKs are produced for some of them here:
# lang: [all, en, ar, ca, de, es, fr, id, it, ja, ko, pt, ru, th, tr, vi, zh, bg, hi, pl]
steps:
- name: Checkout master branch
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: 8
distribution: adopt
- name: Copy CI files
run: |
@ -110,7 +116,7 @@ jobs:
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
with:
arguments: assembleRelease
arguments: assembleRelease -x lintKotlin
cache-disabled: true
- name: Upload "${{ matrix.lang }}" APKs
@ -138,12 +144,13 @@ jobs:
path: ~/apk-artifacts
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 11
distribution: adopt
- name: Checkout master branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: master
path: master
@ -158,7 +165,7 @@ jobs:
./.github/scripts/create-repo.sh
- name: Checkout repo branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: repo
path: repo