Skip to content

Commit

Permalink
set upload ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacm committed Apr 7, 2021
1 parent 2f741a3 commit 80503fa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:

# Gradle 缓存配置
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

# 给 gradlew 文件授权
- name: Grant execute permission for gradlew
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ I wrote this library just because I want a lightweight slider.

### Gradle
```groovy
repositories {
google()
mavenCentral()
}
dependencies {
implementation 'com.cpacm.simpleslider:library:2.3.0'
implementation 'io.github.cpacm:simpleslider:2.3.2'
}
```
> Compile with Android 28 and androidx
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android.enableJetifier=true
android.useAndroidX=true


VERSION_NAME=2.3.1
VERSION_CODE=11
VERSION_NAME=2.3.2
VERSION_CODE=12
GROUP=io.github.cpacm

POM_DESCRIPTION=A simple slider allows you to easily use.
Expand Down

0 comments on commit 80503fa

Please sign in to comment.