From 68e3d72fb176679a3ca12454040e5418eed4f898 Mon Sep 17 00:00:00 2001 From: NoDocCat Date: Tue, 9 May 2023 21:31:21 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a547b7f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +permissions: + contents: read + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.5.2 + + - uses: actions/setup-java@v3.11.0 + with: + distribution: 'adopt' + java-version: '17' + + - uses: gradle/gradle-build-action@v2.4.2 + with: + arguments: build