Skip to content

Commit

Permalink
chore: update release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Shelomentsev committed Mar 26, 2024
1 parent 243f51c commit b443e64
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit b443e64

Please sign in to comment.