File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
2+ # For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
3+
4+ name : Build ServerSigns plugin
5+
6+ on : [push]
7+
8+ jobs :
9+ build :
10+
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ packages : write
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Set up JDK 11
19+ uses : actions/setup-java@v2
20+ with :
21+ java-version : ' 11'
22+ distribution : ' temurin'
23+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
24+ settings-path : ${{ github.workspace }} # location for the settings.xml file
25+
26+ - name : Build with Maven
27+ run : clean package -DskipTests=true -DgeneratePom=false
28+
You can’t perform that action at this time.
0 commit comments