Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Sep 21, 2023
1 parent a753a3f commit 7c7c0a2
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,15 @@ jobs:

- uses: ./.github/actions/setup

- uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc # [email protected]
with:
arguments: clean assemble -PisSnapshot=false

- uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc # [email protected]
with:
arguments: exportVersion -PisSnapshot=false

- uses: gradle/gradle-build-action@ef76a971e2fa3f867b617efd72f2fbd72cf6f8bc # [email protected]
with:
arguments: |
publishAndroidLibraryPublicationToMavenRepository
-PossrhUsername="${{ secrets.OSSR_USERNAME }}"
-PossrhPassword="${{ secrets.OSSR_PASSWORD }}"
-PsigningKey="${{ secrets.SIGNING_KEY }}"
-PsigningPassword="${{ secrets.SIGNING_PASSWORD }}"
-PisSnapshot=false"
- run: ./gradlew clean assemble -PisSnapshot=false

- run: ./gradlew exportVersion -PisSnapshot=false

- run: |
./gradlew \
publishAndroidLibraryPublicationToMavenRepository \
-PossrhUsername="${{ secrets.OSSR_USERNAME }}" \
-PossrhPassword="${{ secrets.OSSR_PASSWORD }}" \
-PsigningKey="${{ secrets.SIGNING_KEY }}" \
-PsigningPassword="${{ secrets.SIGNING_PASSWORD }}" \
-PisSnapshot=false"

0 comments on commit 7c7c0a2

Please sign in to comment.