File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 echo "Building plugin ${{ env.PLUGIN_NAME }}, located at ${{ env.PLUGIN_DIR }}. Using Gradle user home at ${{ env.GRADLE_USER_HOME }}"
3939 ./gradlew -p ${{ env.PLUGIN_DIR }} clean build
4040
41- - name : Publish to GitHub Packages
42- run : ./gradlew publish
43- env :
44- GITHUB_ACTOR : ${{ github.actor }}
45- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41+ - name : Upload JAR to GitHub Release
42+ uses : softprops/action-gh-release@v2
43+ with :
44+ files : build/libs/dicom-edit-routing-*.jar
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ plugins {
88 id " org.nrg.xnat.build.xnat-data-builder" version " 1.8.10"
99 id " me.qoomon.git-versioning" version " 6.4.2"
1010 id " jacoco"
11- id " maven-publish"
1211}
1312
1413ext {
@@ -174,24 +173,3 @@ jacocoTestReport {
174173}
175174
176175compileJava. dependsOn project. tasks[" xnatDataBuilder" ]
177-
178- publishing {
179- publications {
180- mavenJava(MavenPublication ) {
181- from components. java
182- groupId = project. group
183- artifactId = rootProject. name
184- version = project. version
185- }
186- }
187- repositories {
188- maven {
189- name = " GithubPackages"
190- url = uri(" https://maven.pkg.github.com/ParisBrainInstitute/DicomEdit-Routing" )
191- credentials {
192- username = project. findProperty(" gpr.user" ) ?: System . getenv(" GITHUB_ACTOR" )
193- password = project. findProperty(" gpr.key" ) ?: System . getenv(" GITHUB_TOKEN" )
194- }
195- }
196- }
197- }
You can’t perform that action at this time.
0 commit comments