Fix working-directory
This commit is contained in:
parent
e4d5d5dac5
commit
78b15665dc
5
.github/workflows/validate-kotlin.yml
vendored
5
.github/workflows/validate-kotlin.yml
vendored
@ -16,7 +16,8 @@ jobs:
|
|||||||
AndroidLint:
|
AndroidLint:
|
||||||
name: AndroidLint
|
name: AndroidLint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
defaults:
|
||||||
|
run:
|
||||||
working-directory: ./android
|
working-directory: ./android
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -26,8 +27,6 @@ jobs:
|
|||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
- name: Run Gradle Lint
|
- name: Run Gradle Lint
|
||||||
run: ./gradlew lint
|
run: ./gradlew lint
|
||||||
working-directory: ${{env.working-directory}}
|
|
||||||
- uses: yutailang0119/action-android-lint@v1.0.2
|
- uses: yutailang0119/action-android-lint@v1.0.2
|
||||||
with:
|
with:
|
||||||
xml_path: build/reports/lint-results.xml
|
xml_path: build/reports/lint-results.xml
|
||||||
working-directory: ${{env.working-directory}}
|
|
||||||
|
3
.github/workflows/validate-swift.yml
vendored
3
.github/workflows/validate-swift.yml
vendored
@ -30,7 +30,8 @@ jobs:
|
|||||||
# name: SwiftFormat
|
# name: SwiftFormat
|
||||||
# description: 'https://github.com/nicklockwood/SwiftFormat'
|
# description: 'https://github.com/nicklockwood/SwiftFormat'
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
# env:
|
# defaults:
|
||||||
|
# run:
|
||||||
# working-directory: ./ios
|
# working-directory: ./ios
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
Loading…
Reference in New Issue
Block a user