Giter VIP home page Giter VIP logo

Comments (3)

davidjenni avatar davidjenni commented on May 19, 2024

@19JoaoPereira97 The way we debug tooling issues in our own workflows is using the pac CLI's trace logs, by adding an upload-artifact action unconditionally at the end of the workflow, see e.g.

the logs are placed in this folder on the runner:
./dist/pac*/tools/logs/pac-log.txt

My suspicion is, this is an error returned from the Dataverse/CDS side, but clearly, the pac CLI &export-solution action is not surfacing that error properly (which is a bug on our side, sri)

from powerplatform-actions.

nkirstein avatar nkirstein commented on May 19, 2024

I was getting the exact same error message and was able to solve the problem by adding the parameter run-asynchronously: true to the export-solution action. So I guess it was a timeout issue, at least in my case. The error message wasn't very helpful in figuring this out, unfortunately.

@davidjenni I tried your suggestion but the resulting log file was empty. This is what I added to the action file:

- name: upload pac CLI logs
      if: always()
      uses: actions/upload-artifact@v2
      with:
        name: pac-cli-log
        path: ./logs/pac-log.txt

The artifact was created but the file was empty. Did I miss anything?

from powerplatform-actions.

davidjenni avatar davidjenni commented on May 19, 2024

@nkirstein assuming that any of the powerplatform-actions have run, that log file is NOT expected to be empty, see e.g. this workflow from this repo:
https://github.com/microsoft/powerplatform-actions/actions/runs/1147496290#artifacts

image

from powerplatform-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.