Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sprytex authored Dec 10, 2024
1 parent d0cb2c2 commit ccf48b1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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 8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- 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

0 comments on commit ccf48b1

Please sign in to comment.