Skip to content

Switch from Travis to GitHub Actions #2

Switch from Travis to GitHub Actions

Switch from Travis to GitHub Actions #2

Workflow file for this run

name: Java CI with Maven
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml -Pci-build -V
- run: mkdir staging && cp target/*.* staging && rm staging/original* && rm staging/*shaded*
- uses: actions/upload-artifact@v4
with:
name: Package
path: staging