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 de3d13c commit e0ff883
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,16 @@ jobs:
- name: Build spigot
shell: bash
run: |
cd ..
mkdir spigotmc
cd spigotmc
mkdir target
cd target
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: Build with Maven
shell: bash
run: |
sed -e "s/1.12-SNAPSHOT/$SEMVER/" pom.xml > patched.xml
mvn -B deploy -f patched.xml
mvn deploy:deploy-file -DgroupId=no.runsafe -DartifactId=framework -DrepositoryId=framework -Dversion=$SEMVER -DgeneratePom=true -Dfiles=spigot-1.12.2jar,craftbukkit-1.12.2.jar -Dfile=framework.jar -f patched.pom
env:
GITHUB_TOKEN: ${{ github.token }}
SEMVER: ${{ needs.prepare.outputs.semVer }}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<artifactId>spigot</artifactId>
<version>1.12.2</version>
<scope>system</scope>
<systemPath>${project.basedir}/../spigotmc/spigot-1.12.2.jar</systemPath>
<systemPath>${project.basedir}/target/spigot-1.12.2.jar</systemPath>
</dependency>
</dependencies>
<build>
Expand Down

0 comments on commit e0ff883

Please sign in to comment.