Skip to content

Commit

Permalink
Publish snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Feb 28, 2020
1 parent 358334d commit 50206f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gradle.yml
Expand Up @@ -12,4 +12,5 @@ jobs:
java-version: 11
- uses: eskatos/gradle-command-action@v1
with:
arguments: build
arguments: build -x test publish
repo-token: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions build.gradle
Expand Up @@ -220,6 +220,16 @@ publishing {
}
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/ical4j/ical4j")
credentials {
username = project.findProperty('gpr.user') ?: System.getenv("GPR_USER")
username = project.findProperty('gpr.key') ?: System.getenv("GPR_API_KEY")
}
}
}
}

signing {
Expand Down

0 comments on commit 50206f6

Please sign in to comment.