From 290d6bd51e70248d1ca2f62f5e28acf667fcf5f7 Mon Sep 17 00:00:00 2001 From: OakLoaf Date: Wed, 18 Sep 2024 16:20:20 +0100 Subject: [PATCH] Moved env variable definition --- .github/workflows/version-release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version-release.yml b/.github/workflows/version-release.yml index daaf9a5..3bcbaf0 100644 --- a/.github/workflows/version-release.yml +++ b/.github/workflows/version-release.yml @@ -4,13 +4,16 @@ on: push: branches: - main - paths: - - 'build.gradle.kts' +# paths: +# - 'build.gradle.kts' jobs: create_release: runs-on: ubuntu-latest + env: + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + steps: - name: Checkout repository uses: actions/checkout@v2 @@ -59,4 +62,4 @@ jobs: if: env.TAG_EXISTS == 'false' run: | chmod +x ./gradlew - MODRINTH_TOKEN=${{ secrets.MODRINTH_TOKEN }} ./gradlew modrinth \ No newline at end of file + ./gradlew modrinth \ No newline at end of file