Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenn committed Dec 17, 2023
1 parent 2e6f99e commit 4cf67d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ jobs:
cd spigotmc
curl https://hub.spigotmc.org/jenkins/job/BuildTools/lastStableBuild/artifact/target/BuildTools.jar -o BuildTools.jar
java -jar BuildTools.jar --rev 1.12.2
- name: Set Version
run: mvn versions:set -DnewVersion=$SEMVER
env:
SEMVER: ${{ needs.calculate-version.outputs.semVer }}
- name: Build with Maven
run: mvn -B deploy --file pom.xml -Drevision=$SEMVER
run: mvn -B deploy
env:
GITHUB_TOKEN: ${{ github.token }}
SEMVER: ${{ needs.calculate-version.outputs.semVer }}
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
<modelVersion>4.0.0</modelVersion>
<groupId>no.runsafe</groupId>
<artifactId>framework</artifactId>
<version>${revision}</version>
<version>1.12-SNAPSHOT</version>
<name>no.runsafe.api</name>
<url>https://minecraft.runsafe.no</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<revision>1.12-SNAPSHOT</revision>
</properties>
<distributionManagement>
<repository>
Expand Down

0 comments on commit 4cf67d0

Please sign in to comment.