You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/10/20 22:46:18 UTC

[camel-karavan] branch main updated: Upgrade actions

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 1a3b46a  Upgrade actions
1a3b46a is described below

commit 1a3b46ae63a5314d86b82697336c17a58d45031c
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Thu Oct 20 18:46:11 2022 -0400

    Upgrade actions
---
 .github/workflows/app.yml      | 6 +++---
 .github/workflows/operator.yml | 4 ++--
 .github/workflows/vscode.yml   | 8 ++++----
 karavan-vscode/src/jbang.ts    | 1 -
 4 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml
index a2e5d4e..d41741c 100644
--- a/.github/workflows/app.yml
+++ b/.github/workflows/app.yml
@@ -21,12 +21,12 @@ jobs:
 
       #  Generate Karavan UI model and API, Kamelets and Components
       - name: Set up JDK 11
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
           java-version: 11
 
       - name: Cache local Maven repository
-        uses: actions/cache@v2
+        uses: actions/cache@v3
         with:
           path: |
             ~/.m2/repository
@@ -41,7 +41,7 @@ jobs:
 
       #  Building Karavan Core
       - name: Set up Node
-        uses: actions/setup-node@v2
+        uses: actions/setup-node@v3
         with:
           node-version: '17'
 
diff --git a/.github/workflows/operator.yml b/.github/workflows/operator.yml
index bb3df26..e974c0b 100644
--- a/.github/workflows/operator.yml
+++ b/.github/workflows/operator.yml
@@ -24,12 +24,12 @@ jobs:
 
       #  Generate Karavan UI model and API, Kamelets and Components
       - name: Set up JDK 11
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
           java-version: 11
 
       - name: Cache local Maven repository
-        uses: actions/cache@v2
+        uses: actions/cache@v3
         with:
           path: |
             ~/.m2/repository
diff --git a/.github/workflows/vscode.yml b/.github/workflows/vscode.yml
index 5c507fd..729f649 100644
--- a/.github/workflows/vscode.yml
+++ b/.github/workflows/vscode.yml
@@ -18,12 +18,12 @@ jobs:
 
       #  Generate Karavan UI model and API, Kamelets and Components
       - name: Set up JDK 11
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
           java-version: 11
 
       - name: Cache local Maven repository
-        uses: actions/cache@v2
+        uses: actions/cache@v3
         with:
           path: |
             ~/.m2/repository
@@ -38,7 +38,7 @@ jobs:
 
       #  Building Karavan Core
       - name: Set up Node
-        uses: actions/setup-node@v2
+        uses: actions/setup-node@v3
         with:
           node-version: '16'
 
@@ -60,7 +60,7 @@ jobs:
         run: vsce package
 
       - name: Karavan VS Code extension (upload)
-        uses: actions/upload-artifact@v2
+        uses: actions/upload-artifact@v3
         with:
           name: camel-karavan-vscode.vsix
           path: ./karavan-vscode/*.vsix
diff --git a/karavan-vscode/src/jbang.ts b/karavan-vscode/src/jbang.ts
index b54183c..73e0d70 100644
--- a/karavan-vscode/src/jbang.ts
+++ b/karavan-vscode/src/jbang.ts
@@ -123,7 +123,6 @@ export function camelDeploy(directory: string) {
         if (val[0].result) env.USER = val[0].value;
         if (val[1].result) env.TOKEN = val[1].value;
         if (val[2].result) env.NAMESPACE = val[2].value;
-        console.log("env", env);
         camelRunDeploy(command, env);
     }).catch((reason: any) => {
         window.showErrorMessage("Error: \n" + reason.message);