Skip to content

Commit

Permalink
Use new publish action (#74)
Browse files Browse the repository at this point in the history
Summary:
See https://github.com/vanniktech/gradle-maven-publish-plugin/blob/master/CHANGELOG.md#version-0170-2021-07-04

Pull Request resolved: #74

Test Plan: testinprod

Reviewed By: lblasa

Differential Revision: D32598321

Pulled By: passy

fbshipit-source-id: f8b3e4113a56703141f3ded4e4b1775591014269
  • Loading branch information
passy authored and facebook-github-bot committed Nov 22, 2021
1 parent 34535fc commit 6420543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- name: Update gradle.properties
run: echo -e "signing.secretKeyRingFile=/tmp/secring.gpg\nsigning.keyId=${{ secrets.SIGNING_KEY_ID }}\nsigning.password=${{ secrets.SIGNING_PASSWORD }}\nmavenCentralPassword=${{ secrets.SONATYPE_NEXUS_PASSWORD }}\nmavenCentralUsername=${{ secrets.SONATYPE_NEXUS_USERNAME }}" >> gradle.properties
- name: Upload Android Archives
run: ./gradlew assembleRelease uploadArchives --info
run: ./gradlew assembleRelease publish --info
- name: Upload Java-Only Archives
run: ./gradlew -b host.gradle assemble uploadArchives --info
run: ./gradlew -b host.gradle assemble publish --info
- name: Release and close
run: ./gradlew closeAndReleaseRepository
- name: Clean secrets
Expand Down

0 comments on commit 6420543

Please sign in to comment.