fileserver/.gitea/workflows/build.yaml

25 lines
659 B
YAML
Raw Permalink Normal View History

2024-08-31 19:20:21 +00:00
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