Skip to content

Commit

Permalink
Experimenting with github packages #2726
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Oct 27, 2022
1 parent 836e4f2 commit cc2c878
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apply plugin:"maven-publish"
publishing {
repositories {
maven {
name 'Nexus'
url "https://nexus.ala.org.au/content/repositories/${project.version.endsWith('-SNAPSHOT') ? 'snapshots' : 'releases'}"
name 'GitHubPackages'
url uri("https://maven.pkg.github.com/atlasoflivingaustralia/fieldcapture")
credentials {
username = System.getenv('TRAVIS_DEPLOY_USERNAME')
password = System.getenv('TRAVIS_DEPLOY_PASSWORD')
username = System.getenv('GITHUB_ACTOR')
password = System.getenv('GITHUB_TOKEN')
}
}
}
Expand Down

0 comments on commit cc2c878

Please sign in to comment.