You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/10/08 09:01:18 UTC

[shardingsphere] branch master updated: Refactor : refactor and fix some workflows (#21383)

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

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new c179fc7d2d7 Refactor : refactor and fix some workflows (#21383)
c179fc7d2d7 is described below

commit c179fc7d2d7d76467f77a31408b6ec7b4df4a1d9
Author: 孙念君 Nianjun Sun <su...@sphere-ex.com>
AuthorDate: Sat Oct 8 17:01:10 2022 +0800

    Refactor : refactor and fix some workflows (#21383)
    
    Co-authored-by: 孙念君 Nianjun Sun <su...@apache.com>
---
 .github/workflows/docker-release.yml   | 5 +++--
 .github/workflows/issue-automation.yml | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml
index a781ee51103..6242b0a5dea 100644
--- a/.github/workflows/docker-release.yml
+++ b/.github/workflows/docker-release.yml
@@ -27,7 +27,7 @@ env:
   MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=30 -DskipTests
 
 jobs:
-  deploy-docker-iamge:
+  deploy-docker-images:
     runs-on: ubuntu-latest
     timeout-minutes: 60
     steps:
@@ -44,8 +44,9 @@ jobs:
           key: shardingsphere-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
           restore-keys: |
             ${{ runner.os }}-maven-
-      - uses: actions/setup-java@v1
+      - uses: actions/setup-java@v2
         with:
+          distribution: 'temurin'
           java-version: 8
       - name: Set environment
         run: export MAVEN_OPTS=' -Dmaven.javadoc.skip=true -Drat.skip=true -Djacoco.skip=true $MAVEN_OPTS'
diff --git a/.github/workflows/issue-automation.yml b/.github/workflows/issue-automation.yml
index e3e9de08d1e..d9aac1104fc 100644
--- a/.github/workflows/issue-automation.yml
+++ b/.github/workflows/issue-automation.yml
@@ -30,7 +30,7 @@ jobs:
     runs-on: ubuntu-latest
     if: ${{ github.repository == 'apache/shardingsphere' && github.event_name == 'issue_comment' }}
     steps:
-      - name: Trigger The CI Workflow
+      - name: Trigger the CI workflow
         if: ${{ contains( github.event.comment.body , '/run ci') }} 
         uses: mvasigh/dispatch-action@main
         with:
@@ -55,7 +55,7 @@ jobs:
     concurrency: check-inactive  # singleton-run-stage
     if: ${{ github.repository == 'apache/shardingsphere' && github.event_name == 'schedule' }}
     steps:
-      - name: check-inactive   # add `status: inactive` label
+      - name: Check inactive   # add `status: inactive` label
         uses: actions-cool/issues-helper@v2.2.1 
         with: 
           actions: 'check-inactive' 
@@ -63,7 +63,7 @@ jobs:
           inactive-day: 15
           inactive-label: "status: inactive"
           body: |
-            Hello ${{ github.event.issue.user.login }}, this issue has not received a reply for serveral days.
+            Hello ${{ github.event.issue.user.login }}, this issue has not received a reply for several days.
             This issue is supposed to be closed.
           contents: "heart"
   close-issue: