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 e73d0a0 commit 836e4f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: -PenableClover=true cloverGenerateReport
env:
GPR_USER: ${{env.GITHUB_ACTOR}}
GPR_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Install javascript packages using the gradle clientInstall plugin
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
Expand Down
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ repositories {
mavenLocal()
maven { url "https://repo.osgeo.org/repository/release/" }
maven { url "https://repo.grails.org/grails/core" }
maven { url = uri("https://maven.pkg.github.com/atlasoflivingaustralia/ecodata-client-plugin")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv('GPR_USER')
password = project.findProperty("gpr.token") ?: System.getenv('GPR_TOKEN')
}
}
maven { url "https://nexus.ala.org.au/content/groups/public/" }
gradlePluginPortal()
}
Expand Down Expand Up @@ -173,7 +179,7 @@ dependencies {
provided "io.methvin:directory-watcher:0.4.0"

if (!Boolean.valueOf(inplace)) {
compile "org.grails.plugins:ecodata-client-plugin:5.1"
compile "org.grails.plugins:ecodata-client-plugin:5.2-SNAPSHOT"
}
}

Expand Down

0 comments on commit 836e4f2

Please sign in to comment.