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

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new a51b51da8 fix(ci): CRD dependency release in action
a51b51da8 is described below

commit a51b51da80331c9a3cbbf31f88f7959bbfc83ecf
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Fri Jan 27 09:39:41 2023 +0100

    fix(ci): CRD dependency release in action
---
 .github/actions/release-nightly/action.yml | 5 +++++
 .github/workflows/release.yml              | 5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index f8a7e0026..01e8fde18 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -123,3 +123,8 @@ runs:
         replacesArtifacts: true
         tag: ${{ env.VERSION }}
         commit: main
+    # If release was okey, we can also release the CRD Fabric8 extensions
+    - name: Deploy Camel-K-CRDs to ASF Snapshots Repository
+      working-directory: java
+      run: |
+        mvn clean deploy -DskipTests -DskipITs --settings 
.github/asf-deploy-settings.xml
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 992ac9feb..9f9f328b6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -88,8 +88,5 @@ jobs:
         secretDockerHubUser: ${{ secrets.TEST_DOCKER_HUB_USERNAME }}
         secretDockerHubPassword: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
         secretGithubToken: ${{ secrets.GITHUB_TOKEN }}
-    - name: Deploy to ASF Snapshots Repository
-      working-directory: java
-      run: |
-        mvn ${MAVEN_ARGS} clean deploy -DskipTests -DskipITs --settings 
.github/asf-deploy-settings.xml
+
 

Reply via email to