fix(ci): Use gradle-build-action for release

This commit is contained in:
Ashhhleyyy 2022-07-17 20:39:36 +01:00
parent 5ceab2d741
commit 7a9eb084a2
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -28,8 +28,10 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build and publish with Gradle
run: ./gradlew modrinth
- name: Build and publish with gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}