Giter Club home page Giter Club logo

Comments (3)

bigdaz avatar bigdaz commented on September 18, 2024

Thanks for the report.
We have test coverage for this combination of versions, so there must be something about your project that is causing this to fail.

The Job Summary functionality works via Gradle init scripts, which are automatically injected into Gradle User Home. These init-scripts write a results file to $RUNNER_TEMP/.build-results.

Can you please check the following:

  1. Do you see "gradle action failed to write build-results file" in your Gradle output?
  2. Add a step following the Gradle invocation to list the results of the $RUNNER_TEMP/.build-results directory?
  3. In the same step, cat all of the .json files in .build-results to check contents. These JSON files should contain the Build Scan link but I assume in your case they do not.

The added step would look something like this:

    - name: Print build results
      working-directory: ${{ env.RUNNER_TEMP }}
      shell: bash
      run: |
        echo "RUNNER_TEMP = $RUNNER_TEMP"
        ls -la $RUNNER_TEMP
        ls -la $RUNNER_TEMP/.build-results
        find $RUNNER_TEMP/.build-results -name *.json -type f -exec cat {} \;
        echo ""

Once I have a better feel for where this might be failing, I can publish a release with some additional logging to help dig deeper.

from actions.

bigdaz avatar bigdaz commented on September 18, 2024

@warting Have you been able to work out what might be causing this? Do you have any custom init-scripts written to ~/.gradle/init.d?

Without further details of your issue it's difficult to see how it can be fixed.

from actions.

bigdaz avatar bigdaz commented on September 18, 2024

@warting I'm going to close this issue as non-reproducible. If you have more details that might help us track down the underlying problem, please comment here and I'll be happy to reopen.

from actions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.