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