Fix working-directory

This commit is contained in:
Marc Rousavy 2021-02-23 14:06:15 +01:00
parent e4d5d5dac5
commit 78b15665dc
2 changed files with 6 additions and 6 deletions

View File

@ -16,8 +16,9 @@ jobs:
AndroidLint:
name: AndroidLint
runs-on: ubuntu-latest
env:
working-directory: ./android
defaults:
run:
working-directory: ./android
steps:
- uses: actions/checkout@v2
- name: Setup JDK 1.8
@ -26,8 +27,6 @@ jobs:
java-version: 1.8
- name: Run Gradle Lint
run: ./gradlew lint
working-directory: ${{env.working-directory}}
- uses: yutailang0119/action-android-lint@v1.0.2
with:
xml_path: build/reports/lint-results.xml
working-directory: ${{env.working-directory}}

View File

@ -30,8 +30,9 @@ jobs:
# name: SwiftFormat
# description: 'https://github.com/nicklockwood/SwiftFormat'
# runs-on: ubuntu-latest
# env:
# working-directory: ./ios
# defaults:
# run:
# working-directory: ./ios
# steps:
# - uses: actions/checkout@v2