diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 83941cf..fa8ab4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,19 +18,18 @@ jobs: with: persist-credentials: false - - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: '8' - cache: 'gradle' - - run: ./gradlew jar --no-daemon - - name: Install Yarn dependencies run: yarn install --cwd=release - name: Release - with: + uses: fingerprintjs/dx-team-toolkit/.github/workflows/release-server-sdk.yml@v1 + with: appId: ${{ vars.APP_ID }} + language: java + java-version: 1.8 + prepare-command: | + ./gradlew jar --no-daemon + ./gradlew publishToMavenLocal run: ./release/node_modules/.bin/semantic-release --extends ./release/.releaserc.js secrets: APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}