From 80575a2804acf7f5c401a0621fc08976b33aff55 Mon Sep 17 00:00:00 2001 From: sya-ri Date: Fri, 28 Jan 2022 01:26:51 +0900 Subject: [PATCH] =?UTF-8?q?workflow:=20build.yml=20=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d861c16 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +on: + push: + tags: ['*'] +jobs: + js: + name: Build + runs-on: ubuntu-latest + steps: + - name: Clone Repository + uses: actions/checkout@v2 + - name: Clone Repository (common) + uses: actions/checkout@v2 + with: + repository: cheatank/common + path: common + - name: Setup Java + uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: 17 + cache: gradle + - name: Build common + working-directory: common + run: ./gradlew publishToMavenLocal + - name: Build + run: ./gradlew build + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + draft: true + files: | + build/libs/*.jar