21 lines
No EOL
519 B
YAML
21 lines
No EOL
519 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container: eclipse-temurin:21-alpine
|
|
steps:
|
|
- name: Install JDK and other deps
|
|
run: apk add maven git nodejs curl
|
|
|
|
- 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:
|
|
name: built-jar
|
|
path: target/blog-software-java-*.jar
|
|
if-no-files-found: error |