Skip to content

Commit 042b2cb

Browse files
committed
fix modrinth if
1 parent 3582188 commit 042b2cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
env:
6969
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
7070
CHANGELOG: ${{ github.event.release.body }}
71-
if: github.event_name == 'release' && github.event.action == 'published' && ${{ env.MODRINTH_TOKEN != '' }}
71+
if: ${{ github.event_name == 'release' && github.event.action == 'published' && env.MODRINTH_TOKEN != '' }}
7272
run: |
73-
./gradlew modrinth
74-
./gradlew modrinthSyncBody
73+
./gradlew --no-configuration-cache modrinth
74+
./gradlew --no-configuration-cache modrinthSyncBody

0 commit comments

Comments
 (0)