Skip to content

Commit 76afb1e

Browse files
committed
fix: update condition for Modrinth publishing step to use env variable
1 parent 7d5e73f commit 76afb1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/milestone-close.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
path: builds/
8787

8888
- name: Publish to Modrinth
89-
if: steps.check_docs.outputs.is_docs == 'false' && (secrets.MODRINTH_TOKEN != '')
89+
if: steps.check_docs.outputs.is_docs == 'false' && env.MODRINTH_TOKEN != ''
9090
run: |
9191
chmod +x ./gradlew
9292
echo "Publishing to Modrinth for tag: $TAG"

0 commit comments

Comments
 (0)