Skip to content

Commit

Permalink
Merge pull request #1664 from provenceee/action-develop
Browse files Browse the repository at this point in the history
upgrade action version
  • Loading branch information
Sherlockhan authored Nov 12, 2024
2 parents 0789753 + 86dd8a7 commit 8812773
Show file tree
Hide file tree
Showing 75 changed files with 285 additions and 285 deletions.
12 changes: 6 additions & 6 deletions .github/actions/common/agentcore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ runs:
using: "composite"
steps:
- name: Set up JDK ${{ env.javaVersion }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ env.javaVersion }}
distribution: 'adopt'
cache: maven
- name: download zookeeper
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: apache-zookeeper-3.6.3-bin.tar.gz
key: ${{ runner.os }}-apache-zookeeper-3.6.3
Expand All @@ -20,7 +20,7 @@ runs:
tar -zxf apache-zookeeper-3.6.3-bin.tar.gz
bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg
- name: download local cse
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: Local-CSE-2.1.3-linux-amd64.zip
key: ${{ runner.os }}-local-cse
Expand All @@ -32,7 +32,7 @@ runs:
export ROOT_PATH=$(pwd)
bash ./sermant-integration-tests/scripts/startCse.sh
- name: download nacos server
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: nacos-server-2.1.0.tar.gz
key: ${{ runner.os }}-nacos-server-2.1.0
Expand All @@ -44,14 +44,14 @@ runs:
tar -zxf nacos-server-2.1.0.tar.gz
bash nacos/bin/startup.sh -m standalone
- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: download agent
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sermant-agent-*/
key: ${{ runner.os }}-agent-${{ github.run_id }}
8 changes: 4 additions & 4 deletions .github/actions/common/backend/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ runs:
using: "composite"
steps:
- name: Set up JDK ${{ env.javaVersion }}
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: ${{ env.javaVersion }}
distribution: 'adopt'
cache: maven
- name: download middlewares
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
apache-zookeeper-*/
Expand All @@ -19,7 +19,7 @@ runs:
shell: bash
run: bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg
- name: download local cse
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: Local-CSE-2.1.3-linux-amd64.zip
key: ${{ runner.os }}-local-cse
Expand All @@ -31,7 +31,7 @@ runs:
export ROOT_PATH=$(pwd)
bash ./sermant-integration-tests/scripts/startCse.sh
- name: download nacos server
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: nacos-server-2.1.0.tar.gz
key: ${{ runner.os }}-nacos-server-2.1.0
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/common/database-write-prohibition/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ runs:
using: "composite"
steps:
- name: Set up JDK ${{ env.javaVersion }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ env.javaVersion }}
distribution: 'adopt'
cache: maven
- name: get zookeeper from cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: apache-zookeeper-3.6.3-bin.tar.gz
key: ${{ runner.os }}-apache-zookeeper-3.6.3
Expand All @@ -20,14 +20,14 @@ runs:
tar -zxf apache-zookeeper-3.6.3-bin.tar.gz
bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg
- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: cache agent
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sermant-agent-*/
key: ${{ runner.os }}-agent-${{ github.run_id }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/common/dubbo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ runs:
using: "composite"
steps:
- name: Set up JDK ${{ env.javaVersion }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ env.javaVersion }}
distribution: 'adopt'
cache: maven
- name: download middlewares
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
apache-zookeeper-*/
Local-CSE-2.1.3-linux-amd64.zip
key: ${{ runner.os }}-middlewares-${{ github.run_id }}
- name: download agent
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sermant-agent-*/
key: ${{ runner.os }}-agent-${{ github.run_id }}
Expand All @@ -30,7 +30,7 @@ runs:
export ROOT_PATH=$(pwd)
bash ./sermant-integration-tests/scripts/startCse.sh
- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/common/mq-consume-prohibition/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ runs:
using: "composite"
steps:
- name: Set up JDK ${{ env.javaVersion }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ env.javaVersion }}
distribution: 'adopt'
cache: maven
- name: get zookeeper from cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: apache-zookeeper-3.6.3-bin.tar.gz
key: ${{ runner.os }}-apache-zookeeper-3.6.3
Expand All @@ -20,14 +20,14 @@ runs:
tar -zxf apache-zookeeper-3.6.3-bin.tar.gz
bash apache-zookeeper-3.6.3-bin/bin/zkServer.sh start apache-zookeeper-3.6.3-bin/conf/zoo_sample.cfg
- name: cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: cache agent
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: sermant-agent-*/
key: ${{ runner.os }}-agent-${{ github.run_id }}
Expand Down
Loading

0 comments on commit 8812773

Please sign in to comment.