Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypfau committed Oct 22, 2022
1 parent 0ff6778 commit 5374ca3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Publish package to the Maven Central Repository and GitHub Packages
#on:
# release:
# types: [ created ]
on: [ push ]
on:
release:
types: [ created ]

jobs:
publish:
Expand All @@ -24,4 +23,4 @@ jobs:
- name: Run publish with Gradle Wrapper
uses: gradle/gradle-build-action@v2
with:
arguments: publish
arguments: publish closeAndReleaseStagingRepository
21 changes: 11 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ kotlin {
useMocha()
}
}
browser()
compilations.all {
kotlinOptions {
moduleKind = "umd"
Expand Down Expand Up @@ -154,16 +155,16 @@ publishing {
}
}
}
// repositories {
// maven {
// name = "GitHubPackages"
// url = uri("https://maven.pkg.github.com/andreypfau/curve25519-kotlin")
// credentials {
// username = System.getenv("GITHUB_ACTOR")
// password = System.getenv("GITHUB_TOKEN")
// }
// }
// }
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/andreypfau/curve25519-kotlin")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

nexusPublishing {
Expand Down

0 comments on commit 5374ca3

Please sign in to comment.