Skip to content

Update main.yml

Update main.yml #3

Workflow file for this run

name: Build and upload jar
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: AntiCheatAddition
# A file, directory or wildcard pattern that describes what to upload
path: target/*.jar