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 4cf67d0 commit 8b98c67
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/mvn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,11 @@ 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
shell: bash
run: |
sed -e "s/1.12-SNAPSHOT/$SEMVER/" pom.xml > patched.xml
mvn -B deploy -f patched.xml
env:
GITHUB_TOKEN: ${{ github.token }}
SEMVER: ${{ needs.calculate-version.outputs.semVer }}
Expand Down

0 comments on commit 8b98c67

Please sign in to comment.