You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/03/04 16:56:55 UTC
[camel-kamelets] branch 0.7.x updated: Added Generator to regen GH Action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 0.7.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/0.7.x by this push:
new 5422f54 Added Generator to regen GH Action
5422f54 is described below
commit 5422f54b23b25478c4d4cc5c98dfdb21021cdca9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 4 17:48:45 2022 +0100
Added Generator to regen GH Action
---
.github/workflows/main-push-regen.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.github/workflows/main-push-regen.yaml b/.github/workflows/main-push-regen.yaml
index cc69e4b..9ae0ecf 100644
--- a/.github/workflows/main-push-regen.yaml
+++ b/.github/workflows/main-push-regen.yaml
@@ -41,6 +41,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
+ - name: Install Go
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.16.x
- name: Cache Maven Repository
uses: actions/cache@v1
with:
@@ -51,6 +55,12 @@ jobs:
run: ./mvnw clean install -DskipTests
- name: Build catalog 2nd Run
run: ./mvnw clean install
+ - name: Run Validator
+ run: |
+ echo "Running Kamelet Generator..."
+
+ cd script/generator
+ go run . ../../kamelets/ ../../docs/modules/ROOT/
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with: