blog-software-java/.forgejo/workflows/build.yml
Minecon724 d7a0654193
Some checks failed
/ build (push) Has been cancelled
ci: Add artifact README
Signed-off-by: Minecon724 <git@m724.eu>
2025-02-10 17:22:23 +01:00

25 lines
No EOL
649 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: |
README.txt
target/blog-*.jar
if-no-files-found: error