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: 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}}

View File

@ -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