diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6f0b4d7e..fd6f4c0f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -79,9 +79,13 @@ jobs: run: | npm install @openrewrite/rewrite-remote npm install ../../../../../openrewrite/openrewrite-rewrite-*.tgz - git checkout HEAD -- package.json working-directory: rewrite-javascript-remote-server/src/main/resources/node-server + - name: build-java + run: | + ./gradlew assemble + git reset --hard + - name: publish-candidate if: contains(github.ref, '-rc.') run: |