From 454754cfa461ea466301cb4677711fda3b61896f Mon Sep 17 00:00:00 2001 From: jerensl <54782057+jerensl@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:25:16 +0800 Subject: [PATCH 1/2] fix: kanvas snapshot template and rename it to kanvas Signed-off-by: jerensl <54782057+jerensl@users.noreply.github.com> --- workflow-templates/file-uploadTemplate.yaml | 10 +++++----- workflow-templates/url-uploadTemplate.yaml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/workflow-templates/file-uploadTemplate.yaml b/workflow-templates/file-uploadTemplate.yaml index 405d299..dd6d8de 100644 --- a/workflow-templates/file-uploadTemplate.yaml +++ b/workflow-templates/file-uploadTemplate.yaml @@ -1,4 +1,4 @@ -name: MeshMap Screenshot Service +name: Kanvas Screenshot Service 'on': pull_request_target: types: @@ -14,7 +14,7 @@ name: MeshMap Screenshot Service outputs: resource_url: description: The URL of the generated resource. - value: ${{ jobs.MeshMapScreenshot.outputs.resource_url }} + value: ${{ jobs.KanvasScreenshot.outputs.resource_url }} permissions: actions: read contents: write @@ -23,7 +23,7 @@ permissions: pull-requests: write id-token: write jobs: - MeshMapScreenshot: + KanvasScreenshot: runs-on: ubuntu-latest outputs: resource_url: ${{ steps.test_result.outputs.resource_url }} @@ -36,9 +36,9 @@ jobs: - uses: actions/checkout@v4 with: path: action - repository: layer5labs/meshmap-snapshot + repository: layer5labs/kanvas-snapshot - id: test_result - uses: ${GITHUB_REF/refs/tags//} + uses: layer5labs/kanvas-snapshot@v0.2.7 with: githubToken: ${{ secrets.GITHUB_TOKEN }} mesheryToken: ${{ secrets.MESHERY_TOKEN }} diff --git a/workflow-templates/url-uploadTemplate.yaml b/workflow-templates/url-uploadTemplate.yaml index 05b5f15..25420ea 100644 --- a/workflow-templates/url-uploadTemplate.yaml +++ b/workflow-templates/url-uploadTemplate.yaml @@ -1,4 +1,4 @@ -name: MeshMap Snapshot With URL-Upload +name: Kanvas Snapshot With URL-Upload 'on': pull_request_target: types: @@ -14,9 +14,9 @@ name: MeshMap Snapshot With URL-Upload outputs: resource_url: description: The URL of the generated resource. - value: ${{ jobs.MeshMapScreenshot.outputs.resource_url }} + value: ${{ jobs.KanvasScreenshot.outputs.resource_url }} jobs: - MeshMapScreenshot: + KanvasScreenshot: runs-on: ubuntu-latest outputs: resource_url: ${{ steps.test_result.outputs.resource_url }} @@ -28,9 +28,9 @@ jobs: - uses: actions/checkout@v3 with: path: action - repository: layer5labs/meshmap-snapshot + repository: layer5labs/kanvas-snapshot - id: test_result - uses: layer5labs/MeshMap-Snapshot@v0.2.7 + uses: layer5labs/kanvas-snapshot@v0.2.15 with: githubToken: ${{ secrets.GITHUB_TOKEN }} mesheryToken: ${{ secrets.MESHERY_TOKEN }} From 8f1cdcf8704522739850381e71adedb1c14d674b Mon Sep 17 00:00:00 2001 From: jerensl <54782057+jerensl@users.noreply.github.com> Date: Tue, 29 Oct 2024 19:26:45 +0800 Subject: [PATCH 2/2] chore: upgrade version Signed-off-by: jerensl <54782057+jerensl@users.noreply.github.com> --- workflow-templates/file-uploadTemplate.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow-templates/file-uploadTemplate.yaml b/workflow-templates/file-uploadTemplate.yaml index dd6d8de..99834a4 100644 --- a/workflow-templates/file-uploadTemplate.yaml +++ b/workflow-templates/file-uploadTemplate.yaml @@ -38,7 +38,7 @@ jobs: path: action repository: layer5labs/kanvas-snapshot - id: test_result - uses: layer5labs/kanvas-snapshot@v0.2.7 + uses: layer5labs/kanvas-snapshot@v0.2.15 with: githubToken: ${{ secrets.GITHUB_TOKEN }} mesheryToken: ${{ secrets.MESHERY_TOKEN }}