From cc2c878a761f8982b40d8f2de87e68ba8b30f928 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 27 Oct 2022 14:32:05 +1100 Subject: [PATCH] Experimenting with github packages #2726 --- gradle/publish.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle/publish.gradle b/gradle/publish.gradle index 49e11e205..924df447f 100644 --- a/gradle/publish.gradle +++ b/gradle/publish.gradle @@ -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') } } }