You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2022/03/14 19:13:01 UTC

[isis] branch ISIS-2975 updated: ISIS-2975: experiments (22)

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch ISIS-2975
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/ISIS-2975 by this push:
     new c2b0421  ISIS-2975: experiments (22)
c2b0421 is described below

commit c2b0421600a76d6011a03c7f2e3b7d8ea82a9ee8
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Mar 14 19:12:53 2022 +0000

    ISIS-2975: experiments (22)
---
 .github/workflows/ci-build-artifacts-push-maven.yml | 15 ++++++++-------
 isis-parent/pom.xml                                 | 21 ++++++++++++++++-----
 2 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/ci-build-artifacts-push-maven.yml b/.github/workflows/ci-build-artifacts-push-maven.yml
index cb9d3c7..a38a59c 100644
--- a/.github/workflows/ci-build-artifacts-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-push-maven.yml
@@ -63,13 +63,13 @@ jobs:
           ${{ runner.os }}-${{ env.cache-name }}-
           ${{ runner.os }}-
 
-    - name: Create GitHub Release
-      uses: actions/create-release@v1
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        tag_name: ${{ env.REVISION }}
-        release_name: Release ${{ env.REVISION }}
+#    - name: Create GitHub Release
+#      uses: actions/create-release@v1
+#      env:
+#        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+#      with:
+#        tag_name: ${{ env.REVISION }}
+#        release_name: Release ${{ env.REVISION }}
 
     - name: Build Artifacts
       run: 'bash scripts/ci/build-artifacts.sh'
@@ -80,6 +80,7 @@ jobs:
         # -T 1C ... 1 build thread per core
         MVN_ADDITIONAL_OPTS: >-
           -Dreleased
+          -Dgithub
           -Denforcer.failFast=true
           -Djacoco.skip=true
           -DskipTests
diff --git a/isis-parent/pom.xml b/isis-parent/pom.xml
index 67bbb39..b0b488e 100644
--- a/isis-parent/pom.xml
+++ b/isis-parent/pom.xml
@@ -306,11 +306,6 @@ under the License.
 			<name>Apache Release Distribution Repository</name>
 			<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
 		</repository>
-		<repository>
-			<id>github</id>
-			<name>Github Releases</name>
-			<url>https://maven.pkg.github.com/apache/isis</url>
-		</repository>
 		<snapshotRepository>
 			<id>apache.snapshots.https</id>
 			<name>${distMgmtSnapshotsName}</name>
@@ -1100,6 +1095,22 @@ under the License.
 			</build>
 		</profile>
 
+		<profile>
+			<id>github</id>
+			<activation>
+				<property>
+					<name>github</name>
+				</property>
+			</activation>
+			<distributionManagement>
+				<repository>
+					<id>github</id>
+					<name>Github Releases</name>
+					<url>https://maven.pkg.github.com/apache/isis</url>
+				</repository>
+			</distributionManagement>
+		</profile>
+
 		<!-- APACHE ISIS customisation 15/15: end -->
 	</profiles>
 </project>