Giter Club home page Giter Club logo

Comments (7)

phucsystem avatar phucsystem commented on May 29, 2024

Having the same issue. Any one have some ideas to resolve this?

from action-release.

weirui88888 avatar weirui88888 commented on May 29, 2024

y one have some ideas to resolve this?

+1

from action-release.

weirui88888 avatar weirui88888 commented on May 29, 2024

i got the same error . my config is behind:

 with:
          environment: "production"
          sourcemaps: "./dist/assets"
          set_commits: "skip"
          url_prefix: "~/xxx/assets"

from action-release.

Ninjaman494 avatar Ninjaman494 commented on May 29, 2024

Is the www folder supposed to be in the project root? I think you might have to remove the ./.

with:
  sourcemaps: www

from action-release.

mttfiorio avatar mttfiorio commented on May 29, 2024

Same issue here +1

from action-release.

lozlow avatar lozlow commented on May 29, 2024

This is because the action is a docker-type, if you look at the volumes sent to the docker command:

-v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/[org]/[repo]":"/github/workspace"

(where [org] and [repo] are the values for your repository)

You will be able to access your files if they're in one of these mounts, in my case I used the path option of download-artifact to put the dist folder in ~/work/[org]/[repo]/dist, like below:

      - name: Download artifact
        uses: actions/download-artifact@v3
        with:
          name: dist
          path: ~/work/[org]/[repo]/dist

then I could specify my sourcemaps as so:

        with:
          sourcemaps: /github/workspace/dist/assets/

from action-release.

jtgi avatar jtgi commented on May 29, 2024

Are you using the sentry checkout action prior to this? Don't. It will delete all files generated in the build.

from action-release.

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.