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