This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-21
lines changed Expand file tree Collapse file tree 4 files changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ jobs:
43
43
with :
44
44
arguments : ' build --stacktrace'
45
45
46
- - name : ' Publish KGL to BinTray '
46
+ - name : ' Publish KGL'
47
47
uses : eskatos/gradle-command-action@v1
48
48
with :
49
49
arguments : ' smartPublish --stacktrace'
50
50
if : startsWith(github.ref, 'refs/tags/')
51
51
env :
52
- BINTRAY_API_KEY : ${{ secrets.bintray_api_key }}
53
- BINTRAY_USER : ${{ secrets.bintray_user }}
52
+ GITHUB_USER : ${{ github.actor }}
53
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ You can find some kgl-vulkan samples [here](https://github.com/Dominaezzz/kgl-vu
18
18
## Usage
19
19
``` kotlin
20
20
repositories {
21
- maven(" https://dl.bintray.com/dominaezzz/kotlin-native" )
22
- jcenter()
21
+ maven(" https://maven.pkg.github.com/Dominaezzz/matrix-kt" ) {
22
+ credentials {
23
+ username = System .getenv(" GITHUB_USER" ) // Your GitHub username.
24
+ password = System .getenv(" GITHUB_TOKEN" ) // A GitHub token with `read:packages`.
25
+ }
26
+ }
23
27
}
24
28
25
29
dependencies {
Original file line number Diff line number Diff line change @@ -66,21 +66,18 @@ subprojects {
66
66
67
67
plugins.withId(" maven-publish" ) {
68
68
configure<PublishingExtension > {
69
- val vcs: String by project
70
- val bintrayOrg: String by project
71
- val bintrayRepository: String by project
72
-
73
69
repositories {
74
- maven(" https://api.bintray. com/maven/ $bintrayOrg / $bintrayRepository /kgl/;publish=0;override=0 " ) {
75
- name = " bintray "
70
+ maven(" https://maven.pkg.github. com/Dominaezzz/ ${rootProject.name} " ) {
71
+ name = " GitHubPackages "
76
72
credentials {
77
- username = System .getenv(" BINTRAY_USER " )
78
- password = System .getenv(" BINTRAY_API_KEY " )
73
+ username = System .getenv(" GITHUB_USER " )
74
+ password = System .getenv(" GITHUB_TOKEN " )
79
75
}
80
76
}
81
77
}
82
78
83
79
publications.withType<MavenPublication > {
80
+ val vcs = " https://github.com/Dominaezzz/kgl"
84
81
pom {
85
82
name.set(project.name)
86
83
description.set(project.description)
Original file line number Diff line number Diff line change 1
- vcs =https://github.com/Dominaezzz/kgl
2
- bintrayOrg =dominaezzz
3
- bintrayRepository =kotlin-native
4
- bintrayPackage =kgl
5
-
6
1
org.gradle.jvmargs =-Xmx4096m -XX:MaxPermSize =4096m -XX:+HeapDumpOnOutOfMemoryError
7
-
8
- # This a workaround for https://github.com/gradle/gradle/issues/11412
9
- systemProp.org.gradle.internal.publish.checksums.insecure =true
You can’t perform that action at this time.
0 commit comments