blog-software-java/.forgejo/workflows/build.yml

21 lines
519 B
YAML
Raw Normal View History

2025-01-14 14:26:40 +01:00
on: [push]
jobs:
build:
runs-on: docker
2025-01-19 10:30:47 +01:00
container: eclipse-temurin:21-alpine
2025-01-14 14:26:40 +01:00
steps:
- name: Install JDK and other deps
2025-01-19 10:30:47 +01:00
run: apk add maven git nodejs curl
2025-01-14 14:26:40 +01:00
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Build
run: mvn package
- name: Upload artifacts
uses: https://github.com/actions/upload-artifact@v3
with:
2025-01-19 10:15:42 +01:00
name: built-jar
path: target/blog-software-java-*.jar
if-no-files-found: error