From 1e47909eb982f42ca1eba3870f96e966cf1b82db Mon Sep 17 00:00:00 2001 From: huanghs Date: Sun, 17 Nov 2024 19:15:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/test-java?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test-java.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/test-java.yml diff --git a/.gitea/workflows/test-java.yml b/.gitea/workflows/test-java.yml new file mode 100644 index 0000000..ef2840e --- /dev/null +++ b/.gitea/workflows/test-java.yml @@ -0,0 +1,19 @@ +jobs: + build-image: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 1 + + - name: Setup Java + uses: actions/setup-java@v3 + with: + distribution: zulu + java-version: 17 + cache: gradle + + - name: Gradle Build + run: | + java --version \ No newline at end of file