mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-07-01 07:17:59 +02:00
Set up GitHub Actions
This commit is contained in:
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@ -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 }}
|
||||
|
@ -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'
|
||||
}
|
||||
|
Reference in New Issue
Block a user