From 7a9eb084a277ac7f052107fabcad576708097b55 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sun, 17 Jul 2022 20:39:36 +0100 Subject: [PATCH] fix(ci): Use gradle-build-action for release --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31a0e04..b05189a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}