Skip to content

Update actions to latest #12

Update actions to latest

Update actions to latest #12

Workflow file for this run

# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven (JDK 8)
on:
push:
branches: [ maint-0.9 ]
pull_request:
branches: [ maint-0.9 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- name: Set up Maven
uses: s4u/maven-settings-action@v2.8.0
with:
servers: |
[{
"id": "ukf-packages",
"username": "${{ github.actor }}",
"password": "${{ secrets.GITHUB_TOKEN }}"
}]
- name: Build with Maven
run: mvn -B verify checkstyle:checkstyle --file pom.xml
- name: Upload jar artifact
uses: actions/upload-artifact@v3.1.3
with:
name: ukf-mda-snapshot
path: target/ukf-mda*.jar