fileserver/.gitea/workflows/build.yaml
Mutzi b9e97f6fbd
All checks were successful
/ Build the server (push) Successful in 2m52s
Rewrote the server in java
2024-08-31 22:00:50 +02:00

25 lines
659 B
YAML

on:
- push
jobs:
build:
name: Build the server
runs-on: 'docker'
container:
node:current-alpine
steps:
- run: apk add git openjdk21-jdk
- run: corepack enable
- uses: actions/checkout@v3
- run: corepack install
working-directory: frontend
- run: pnpm install --frozen-lockfile
working-directory: frontend
- run: pnpm run build
working-directory: frontend
- run: ./gradlew --no-daemon bootJar
- run: mv build/libs/fileserver*.jar fileserver.jar
- uses: actions/upload-artifact@v3
with:
name: fileserver.jar
path: fileserver.jar