blog-software-java/.forgejo/workflows/build.yml
Minecon724 721d8d2768
All checks were successful
/ build (push) Successful in 23s
ci: Add artifact README
Signed-off-by: Minecon724 <git@m724.eu>
2025-02-10 17:22:44 +01:00

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