Skip to content

Commit 7981e5f

Browse files
committed
Remove duplicate YAML!
1 parent ed78e18 commit 7981e5f

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

.github/workflows/modrinth-publish.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,3 @@ jobs:
4141
1.21.4
4242
1.21.5
4343
files: /home/runner/work/BentoBox/Border/target/Border-${{ github.event.release.tag_name }}.jar
44-
name: Publish
45-
46-
on:
47-
release:
48-
types: [published]
49-
50-
jobs:
51-
publish:
52-
name: Publish
53-
runs-on: ubuntu-latest
54-
steps:
55-
- name: Checkout repository
56-
uses: actions/checkout@v4
57-
58-
- name: Set up JDK 21
59-
uses: actions/setup-java@v4
60-
with:
61-
java-version: 21
62-
distribution: adopt
63-
cache: maven
64-
65-
# This step will take the version tag from the release and replace it in `pom.xml` before building.
66-
#- name: Set version from release tag
67-
# run: mvn -B versions:set -DnewVersion=${{ github.event.release.tag_name }} -DgenerateBackupPoms=false
68-
69-
- name: Build and package with Maven
70-
run: mvn -B clean package -DskipTests -DgenerateBackupPoms=false -Pmaster --file pom.xml
71-
72-
- name: Upload to Modrinth
73-
uses: cloudnode-pro/modrinth-publish@v2
74-
with:
75-
token: ${{ secrets.MODRINTH_TOKEN }}
76-
project: wvEhk1hC
77-
name: ${{ github.event.release.name }}
78-
version: ${{ github.event.release.tag_name }}
79-
changelog: ${{ github.event.release.body }}
80-
loaders: |-
81-
paper
82-
spigot
83-
game-versions: |-
84-
1.21.4
85-
1.21.5
86-
files: /home/runner/work/Border/Border/target/Border-${{ github.event.release.tag_name }}.jar

0 commit comments

Comments
 (0)