Skip to content

Commit 9f79822

Browse files
mb
1 parent 7027b81 commit 9f79822

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ jobs:
6363
distribution: temurin
6464
- name: Setup Gradle
6565
uses: gradle/actions/setup-gradle@v4
66-
- name: Build and publish
67-
run: ./gradlew clean build -Pskip_nms=true publish
66+
- name: Build this shit again
67+
run: ./gradlew clean build
6868
- name: Upload to the release
6969
env:
7070
GH_TOKEN: ${{ github.token }}
7171
run: |
7272
for file in */build/libs/*.jar; do
7373
gh release upload ${{ github.event.release.tag_name }} $file
7474
done
75+
- name: Clean, Build and Publish
76+
run: ./gradle -Pskip_nms=true publish clean build publish

0 commit comments

Comments
 (0)