Skip to content

Commit

Permalink
Debug github repository
Browse files Browse the repository at this point in the history
  • Loading branch information
alakida committed May 15, 2020
1 parent 0cb87de commit c7b6c1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gradlepublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ jobs:
- name: Publish to GitHub Packages
run: gradle publish
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ GITHUB_REPOSITORY }}
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repositories {
mavenCentral()
}
group = "ru.yandex.cloud"
version = "1.0.0"
version = "1.0.2"

val grpcVersion = "1.28.1"
val protobufVersion = "3.11.4"
Expand Down Expand Up @@ -82,11 +82,15 @@ publishing {
}
}
repositories {
val actor = System.getenv("GITHUB_ACTOR")
val repository = System.getenv("GITHUB_REPOSITORY")
println("GITHUB ACTOR: $actor")
println("GITHUB REPOSITORY: $repository")
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/alakida/cloudapi")
url = uri("https://maven.pkg.github.com/$repository")
credentials {
username = System.getenv("GITHUB_ACTOR")
username = actor
password = System.getenv("GITHUB_TOKEN")
}
}
Expand Down

0 comments on commit c7b6c1f

Please sign in to comment.