Skip to content

Commit

Permalink
ci: add github action s
Browse files Browse the repository at this point in the history
  • Loading branch information
AsoDesu committed Jan 11, 2024
1 parent 7f9a43d commit 24b51d6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build
on: [push, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
- run: cd ./frontend/ && npm i && npm run build
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: build
- uses: actions/upload-artifact@v3
with:
name: Package
path: build/libs/*.jar

0 comments on commit 24b51d6

Please sign in to comment.