Skip to content

Commit

Permalink
Update testing.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TubYoub authored Apr 29, 2024
1 parent a0eae84 commit 16f5a17
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,27 @@ jobs:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
cache: 'maven'

- name: Build Plugin
run: mvn clean package
run: mvn -B package --file pom.xml

- name: List contents of target directory
run: ls target

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

- name: Download compiled JAR
uses: actions/download-artifact@v2
with:
name: CombatLogger

- name: Test Plugin - ${{ matrix.version }}
uses: GamerCoder215/[email protected]
with:
path: 'target/*CombatLogger-*.jar'
path: './CombatLogger/*CombatLogger-*.jar'
runtime: 'paper'
version: ${{ matrix.version }}

0 comments on commit 16f5a17

Please sign in to comment.