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 run: sudo apt install clang-format-12 # This should be roughly in sync with Arcanist
- name: clang-format - name: clang-format
working-directory: ${{ inputs.directory }}
shell: bash 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 run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > /tmp/secring.gpg
- name: Update gradle.properties - name: Update gradle.properties
workingDirectory: ./target working-directory: ./target
run: | run: |
if [ -z "${{ inputs.version }}" ]; then if [ -z "${{ inputs.version }}" ]; then
echo "VERSION_NAME=${{ inputs.version }}" >> gradle.properties echo "VERSION_NAME=${{ inputs.version }}" >> gradle.properties
@@ -40,10 +40,10 @@ jobs:
echo "mavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties echo "mavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties
- name: Upload Android archives - name: Upload Android archives
workingDirectory: ./target working-directory: ./target
run: ./gradlew :yoga:assembleRelease publish --info run: ./gradlew :yoga:assembleRelease publish --info
- name: Publish release - name: Publish release
workingDirectory: ./target working-directory: ./target
run: ./gradlew closeAndReleaseRepository run: ./gradlew closeAndReleaseRepository

View File

@@ -25,7 +25,7 @@ jobs:
uses: ./.github/actions/setup-apple uses: ./.github/actions/setup-apple
- name: pod install - name: pod install
workingDirectory: ./YogaKit/YogaKitSample working-directory: ./YogaKit/YogaKitSample
run: pod install run: pod install
clang-format: clang-format: