Skip to content

Bump org.apache.maven.plugins:maven-compiler-plugin (#20) #38

Bump org.apache.maven.plugins:maven-compiler-plugin (#20)

Bump org.apache.maven.plugins:maven-compiler-plugin (#20) #38

Workflow file for this run

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- run: mvn --batch-mode --update-snapshots verify
- run: mkdir artifact && cp target/*.jar artifact
- uses: actions/upload-artifact@v4
with:
name: Package
path: artifact
# Upload artifacts
- name: Upload Distributable Jar
id: upload-final
uses: actions/upload-artifact@v4
with:
name: dist
path: ./artifact/BrandBlocker.jar