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 c615eb066 chore(ci): release as an action
c615eb066 is described below

commit c615eb066b5979105f777aba8c424d0999f30369
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Thu Sep 8 09:59:11 2022 +0200

    chore(ci): release as an action
    
    Ref #3613
---
 .../{workflows/release-workflow.yml => actions/release/action.yml}  | 2 --
 .github/workflows/release.yml                                       | 6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/release-workflow.yml 
b/.github/actions/release/action.yml
similarity index 96%
rename from .github/workflows/release-workflow.yml
rename to .github/actions/release/action.yml
index a0275e61c..6628cda85 100644
--- a/.github/workflows/release-workflow.yml
+++ b/.github/actions/release/action.yml
@@ -53,8 +53,6 @@ jobs:
           persist-credentials: false
           submodules: recursive
       
-      # TODO: remove this workaround once 1.11 is released, see #3613
-      - if: ${{ github.ref == 'refs/heads/main' }} || ${{ github.ref == 
'refs/heads/release-1.10.x' }}
       # Reuse the testing flows used for PRs
         name: Smoke tests
         uses: ./.github/actions/e2e-common
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index dcaf1e112..2842de028 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ on:
 jobs:
   main:
     if: github.repository == 'apache/camel-k'
-    uses: ./.github/workflows/release-workflow.yml
+    uses: ./.github/actions/release
     with:
       ref: "main"
       goVersion: "1.17.x"
@@ -35,7 +35,7 @@ jobs:
 
   v1_10_x:
     if: github.repository == 'apache/camel-k'
-    uses: ./.github/workflows/release-workflow.yml
+    uses: ./.github/actions/release
     with:
       ref: "release-1.10.x"
       goVersion: "1.17.x"
@@ -46,7 +46,7 @@ jobs:
 
   v1_9_x:
     if: github.repository == 'apache/camel-k'
-    uses: ./.github/workflows/release-workflow.yml
+    uses: ./.github/actions/release
     with:
       ref: "release-1.9.x"
       goVersion: "1.17.x"

Reply via email to