Fix working-directory
This commit is contained in:
parent
e4d5d5dac5
commit
78b15665dc
7
.github/workflows/validate-kotlin.yml
vendored
7
.github/workflows/validate-kotlin.yml
vendored
@ -16,8 +16,9 @@ jobs:
|
|||||||
AndroidLint:
|
AndroidLint:
|
||||||
name: AndroidLint
|
name: AndroidLint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
defaults:
|
||||||
working-directory: ./android
|
run:
|
||||||
|
working-directory: ./android
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Setup JDK 1.8
|
- name: Setup JDK 1.8
|
||||||
@ -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}}
|
|
||||||
|
5
.github/workflows/validate-swift.yml
vendored
5
.github/workflows/validate-swift.yml
vendored
@ -30,8 +30,9 @@ 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:
|
||||||
# working-directory: ./ios
|
# run:
|
||||||
|
# working-directory: ./ios
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user