diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 4390345f..03f8a008 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -49,7 +49,7 @@ jobs: # When adding a new example make sure it's listed here - name: Find and replace restateVersion in build.gradle.kts for java templates if: github.event.inputs.sdkJavaVersion != '' - run: for jvmDir in hello-world-http hello-world-lambda food-ordering; do sed -i 's/val restateVersion = "[0-9A-Z.-]*"/val restateVersion = "${{ inputs.sdkJavaVersion }}"/' java/$jvmDir/build.gradle.kts; done + run: for jvmDir in hello-world-http hello-world-lambda food-ordering/app; do sed -i 's/val restateVersion = "[0-9A-Z.-]*"/val restateVersion = "${{ inputs.sdkJavaVersion }}"/' java/$jvmDir/build.gradle.kts; done - name: Find and replace restateVersion in build.gradle.kts for kotlin templates if: github.event.inputs.sdkJavaVersion != '' run: for jvmDir in hello-world-http hello-world-lambda; do sed -i 's/val restateVersion = "[0-9A-Z.-]*"/val restateVersion = "${{ inputs.sdkJavaVersion }}"/' kotlin/$jvmDir/build.gradle.kts; done diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4da3cb88..b5675cf3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: uses: gradle/gradle-build-action@v2 with: arguments: check - build-root-directory: java/food-ordering + build-root-directory: java/food-ordering/app - name: Test kotlin/hello-world-http uses: gradle/gradle-build-action@v2 with: