Skip to content

Commit

Permalink
Merge pull request #4 from BT-Pluginz/Build-action
Browse files Browse the repository at this point in the history
Create Build Action
  • Loading branch information
TubYoub authored Apr 29, 2024
2 parents 3a0bfd2 + 6f6d677 commit 05916ed
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build

on:
push:
branches: [ "master","Version*" ]
pull_request:
branches: [ "master", "Version*" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: BTsCombatLogger
path: target/BTsCombatLogger-*.jar

0 comments on commit 05916ed

Please sign in to comment.