Set up GitHub Actions

This commit is contained in:
2021-09-03 12:45:31 +02:00
parent 1702d8dfb5
commit 7be868648b
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ on:
release:
# We'll run this workflow when a new GitHub release is created
types: [released]
workflow_dispatch:
jobs:
publish:
@ -29,7 +28,7 @@ jobs:
# Runs upload, and then closes & releases the repository
- name: Publish to MavenCentral
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1
run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

View File

@ -13,7 +13,7 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 31
versionName "2.0.1"
versionName "2.0.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}