mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
run validation before yarn license (#77)
* run validation before yarn license * attempt to fix CI errors https://github.com/yarnpkg/yarn/issues/7212
This commit is contained in:
@@ -24,21 +24,29 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- run: |
|
||||
rm submodules/ExoPlayer/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'yarn'
|
||||
|
||||
- run: |
|
||||
yarn install
|
||||
yarn install --network-concurrency 1
|
||||
|
||||
- run: |
|
||||
yarn lint --max-warnings 0
|
||||
|
||||
- run: |
|
||||
yarn license
|
||||
|
||||
- run: |
|
||||
scripts/prepare-exoplayer-ffmpeg.sh
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
yarn prepare-build
|
||||
|
||||
- uses: gradle/gradle-build-action@v1
|
||||
with:
|
||||
distributions-cache-enabled: true
|
||||
@@ -46,11 +54,14 @@ jobs:
|
||||
configuration-cache-enabled: true
|
||||
build-root-directory: android
|
||||
arguments: assembleRelease -PsignReleaseWithDebug=true
|
||||
|
||||
- run: |
|
||||
mkdir bin
|
||||
|
||||
- run: >
|
||||
mv android/app/build/outputs/apk/release/app-release.apk
|
||||
bin/subtracks-${GITHUB_SHA}.apk
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: subtracks-testing
|
||||
|
||||
Reference in New Issue
Block a user