Skip to content

Commit

Permalink
refactor:
Browse files Browse the repository at this point in the history
* remove github action
* update build.gradle.kts
* update jitpack.yml
  • Loading branch information
Jian-Min-Huang committed May 26, 2022
1 parent 46c5450 commit 1ff799c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 48 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/release.yml

This file was deleted.

12 changes: 1 addition & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
group = "net.purefunc"
version = System.getenv("GITHUB_REF_NAME")
java.sourceCompatibility = JavaVersion.VERSION_11
java.targetCompatibility = JavaVersion.VERSION_11

repositories {
mavenCentral()
Expand All @@ -31,17 +32,6 @@ tasks.withType<Test> {
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/PureFuncInc/emoji-jvm-string")
credentials {
username = "Pure-Func-Inc"
password = System.getenv("GITHUB_PUBLISH_TOKEN")
}
}
}

publications {
create<MavenPublication>("maven") {
from(components["java"])
Expand Down
5 changes: 5 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jdk:
- openjdk11
install:
- ./gradlew run
- ./gradlew clean install

0 comments on commit 1ff799c

Please sign in to comment.