diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 38f3b2f..c14cf43 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -45,21 +45,27 @@ jobs: - name: Test with Maven run: mvn test --file app/pom.xml - create-binary: + generate-release: needs: [re-test, re-build] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set up GraalVM Java 21 - uses: actions/setup-java@v2 + - uses: graalvm/setup-graalvm@v1 with: java-version: '21' - distribution: 'graalvm' - cache: 'gradle' + distribution: 'graalvm' # See 'Options' for all available distributions + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: Debug step + run: | + echo "GRAALVM_HOME: $GRAALVM_HOME" + echo "JAVA_HOME: $JAVA_HOME" + java --version + native-image --version - name: Compile to native image - run: ./mvnw -Pnative native:compile + run: ./app/mvnw -Pnative native:compile - name: Create GitHub Release uses: softprops/action-gh-release@v1