From 404a6398bb5be98ce930ec34a7f95ce53c23cf4c Mon Sep 17 00:00:00 2001 From: Aaron Veil <70171475+anddea@users.noreply.github.com> Date: Sun, 17 Mar 2024 19:02:05 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce0e3f79b..563356fa6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,8 +34,13 @@ jobs: - name: Cache Gradle uses: burrunan/gradle-cache-action@v1 + - name: Setup Java + run: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV + - name: Build with Gradle - run: ./gradlew generateMeta clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./gradlew publish clean - name: Setup semantic-release run: npm install