Skip to content

Update workflows.

Update workflows. #21

name: main.linux.temurin.current
on:
push:
branches: [ develop, feature/*, release/* ]
pull_request:
branches: [ develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: JDK
uses: actions/setup-java@v4
with:
java-version: 22
distribution: 'temurin'
- name: Collect project version
id: project_version
run: java .github/workflows/Tools.java ShowProjectVersion pom.xml >> "$GITHUB_OUTPUT"
- name: Collect project snapshot
id: project_is_snapshot
run: java .github/workflows/Tools.java ShowProjectIsSnapshot pom.xml >> "$GITHUB_OUTPUT"
- name: Build
run: mvn --batch-mode --strict-checksums --errors clean verify site
- name: Upload test logs
uses: actions/upload-artifact@v4
if: always()
with:
name: test-logs
path: ./com.io7m.tabla.tests/target/surefire-reports