From 201dc80cf17ce5a210f87a31872f603e35519aca Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Fri, 14 Oct 2022 07:46:58 -0700 Subject: [PATCH] hyphen --- .github/actions/clang-format/action.yml | 3 ++- .github/workflows/publish-android.yml | 6 +++--- .github/workflows/valiadate-apple.yml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/actions/clang-format/action.yml b/.github/actions/clang-format/action.yml index 7f3c3da1..f800e776 100644 --- a/.github/actions/clang-format/action.yml +++ b/.github/actions/clang-format/action.yml @@ -12,5 +12,6 @@ runs: run: sudo apt install clang-format-12 # This should be roughly in sync with Arcanist - name: clang-format + working-directory: ${{ inputs.directory }} shell: bash - run: clang-format-12 ${{ inputs.directory }} + run: clang-format-12 . diff --git a/.github/workflows/publish-android.yml b/.github/workflows/publish-android.yml index 2f995302..9427caa3 100644 --- a/.github/workflows/publish-android.yml +++ b/.github/workflows/publish-android.yml @@ -25,7 +25,7 @@ jobs: run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg - name: Update gradle.properties - workingDirectory: ./target + working-directory: ./target run: | if [ -z "${{ inputs.version }}" ]; then echo "VERSION_NAME=${{ inputs.version }}" >> gradle.properties @@ -40,10 +40,10 @@ jobs: echo "mavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties - name: Upload Android archives - workingDirectory: ./target + working-directory: ./target run: ./gradlew :yoga:assembleRelease publish --info - name: Publish release - workingDirectory: ./target + working-directory: ./target run: ./gradlew closeAndReleaseRepository diff --git a/.github/workflows/valiadate-apple.yml b/.github/workflows/valiadate-apple.yml index 5e2da56c..ae5c01ae 100644 --- a/.github/workflows/valiadate-apple.yml +++ b/.github/workflows/valiadate-apple.yml @@ -25,7 +25,7 @@ jobs: uses: ./.github/actions/setup-apple - name: pod install - workingDirectory: ./YogaKit/YogaKitSample + working-directory: ./YogaKit/YogaKitSample run: pod install clang-format: