This commit is contained in:
Nick Gerleman
2022-10-14 07:46:58 -07:00
parent 1e0971e986
commit 201dc80cf1
3 changed files with 6 additions and 5 deletions

View File

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

View File

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

View File

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