All checks were successful
/ build (push) Successful in 23s
Signed-off-by: Minecon724 <git@m724.eu>
25 lines
No EOL
643 B
YAML
25 lines
No EOL
643 B
YAML
on: [push]
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
container: eclipse-temurin:21-alpine
|
|
steps:
|
|
- name: Install JDK and other deps
|
|
run: apk upgrade && apk add maven git nodejs curl
|
|
|
|
- name: Checkout
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: Build
|
|
run: mvn package
|
|
|
|
- name: Add build data
|
|
run: "mkdir meta && git log -1 > meta/commit.txt && date > meta/build-date.txt"
|
|
|
|
- name: Upload artifacts
|
|
uses: https://github.com/actions/upload-artifact@v3
|
|
with:
|
|
path: |
|
|
meta
|
|
target/blog-*.jar
|
|
if-no-files-found: error |