From 422359946089dcdc690c7b140a95d3365fb0cc43 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 18 Jan 2022 11:52:02 +0800 Subject: [PATCH] =?UTF-8?q?:octocat:=20=E4=BD=BF=E7=94=A8=20GitHub=20Actio?= =?UTF-8?q?ns=20=E8=BF=9B=E8=A1=8C=E6=8C=81=E7=BB=AD=E9=9B=86=E6=88=90?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 18 ++++++++++++++++++ .travis.yml | 6 ------ README.md | 2 +- README_en_US.md | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..40d1f9c0a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: Build Test +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '11' + cache: 'maven' + - name: Build with Maven + run: | + mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pci diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 891c9fbf9..000000000 --- a/.travis.yml +++ /dev/null @@ -1,6 +0,0 @@ -language: java -jdk: - - openjdk11 - -install: - - mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -Pci diff --git a/README.md b/README.md index 0d1d06f8f..96596ab24 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

下一代的社区系统,为未来而构建

- + diff --git a/README_en_US.md b/README_en_US.md index 35ec3895b..2a39e213e 100644 --- a/README_en_US.md +++ b/README_en_US.md @@ -3,7 +3,7 @@

The next generation of the community system, built for the future

- +