Skip to content

Commit

Permalink
workflow: build.yml を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed Jan 27, 2022
1 parent c4541cd commit 80575a2
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 80575a2

Please sign in to comment.