|
@@ -9,16 +9,16 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v1
|
|
|
+ - uses: actions/checkout@v2
|
|
|
- name: Set up JDK 1.8
|
|
|
uses: actions/setup-java@v1
|
|
|
with:
|
|
|
java-version: 1.8
|
|
|
- name: Cache Maven Repository
|
|
|
- uses: actions/cache@v1
|
|
|
+ uses: actions/cache@v3
|
|
|
with:
|
|
|
path: ~/.m2
|
|
|
- key: jetlinks-community-maven-repository
|
|
|
+ key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
|
|
|
- name: Build with Maven
|
|
|
run: ./mvnw clean install -Dmaven.build.timestamp="$(date "+%Y-%m-%d %H:%M:%S")" -Dmaven.test.skip=true -Pbuild && cd jetlinks-standalone && docker build -t registry.cn-shenzhen.aliyuncs.com/jetlinks/jetlinks-standalone:$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) .
|
|
|
- name: Login Docker Repo
|