Skip to content

Commit

Permalink
Build: Refactoring: Reuse MavenSetup generic Java build workflow and …
Browse files Browse the repository at this point in the history
…bump version to 2.0.0

Integrated via #22

Merge branch 'build/refactoring/repo-publish'
  • Loading branch information
inkarkat committed May 28, 2024
2 parents 1691adf + b481725 commit e29f66f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 23 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,5 @@ on:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Setup Java and Maven
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'maven'
- name: Build with Maven verify
run: ./mvnw -B verify
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: |
target/*.jar
uses: ResilientGroup/MavenSetup/.github/workflows/[email protected]
secrets: inherit
2 changes: 1 addition & 1 deletion doc/using-api-spigot.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Installation video: https://youtu.be/6-bqPcMoZ8M
reference: https://www.spigotmc.org/wiki/spigot-installation/

## JuicyRaspberryPie Plugin Installation
1. Download juicyraspberrypie-1.18.1.jar from https://github.com/wensheng/JuicyRaspberryPie/releases
1. Download `juicyraspberrypie-VERSION.jar` from https://nexus.reloadkube.managedservices.resilient-teched.com/#browse/browse:reload:org%2Fwensheng%2Fjuicyraspberrypie
2. Move the file to `plugins` folder, the folder is at the same place where Spigot.jar is.
3. Start or reload Spigot. (To reload, just type `reload` in Spigot command window)
4. When juicyraspberrypie.jar is loaded for the 1st time, a folder `JuicyRaspberryPie` will be created under plugins folder.
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@

<groupId>org.wensheng</groupId>
<artifactId>juicyraspberrypie</artifactId>
<version>1.18.1</version>
<version>${revision}${changelist}</version>
<name>JuicyRaspberryPie</name>
<description>Plugin to execute python code</description>

<properties>
<!-- project version -->
<revision>2.0.0</revision>
<changelist>-SNAPSHOT</changelist>
</properties>

<repositories>
<repository>
<id>reload-repo</id>
Expand Down

0 comments on commit e29f66f

Please sign in to comment.