Giter VIP home page Giter VIP logo

Comments (6)

hudochenkov avatar hudochenkov commented on July 17, 2024 1

If you open any of logs mentioned before. Then check step “Run actions/checkout@v1”. It will has something like:

Initialized empty Git repository in D:/a/stylelint/stylelint/.git/

Sometimes drive letter is lowercased.

It's a drive letter from the environment that Actions created.

from runner-images.

hudochenkov avatar hudochenkov commented on July 17, 2024

Current workaround we use:

cd .. && cd D:\a\stylelint\stylelint

Before running Node.js scripts.

from runner-images.

alepauly avatar alepauly commented on July 17, 2024

@hudochenkov It's not clear to me where the drive letter is coming from. Is the output from a script on the machine or your code?

from runner-images.

alepauly avatar alepauly commented on July 17, 2024

@hudochenkov This is fixed, should all be lower-case now. However, we don't make any guarantees for the casing in Windows path so it's probably a good idea to make your check more resilient in the Windows case?

from runner-images.

hudochenkov avatar hudochenkov commented on July 17, 2024

It's great to hear! But why it was decided to use lower-case over upper-case? Upper-case is the most common on Windows.

Also it might create more problem for Node.js tools, because of Node.js behavior. I understand that Node.js behavior out-of-scope for this repository. It's just a note keep in mind.

from runner-images.

hudochenkov avatar hudochenkov commented on July 17, 2024

There is one odd thing with having lower-cased d:. I just restarted failed build, so new environment probably has fix, @alepauly mentioned, in place. And this environment has two drives: C: (uppercased) and d: (lowercased). This was also happening before the fix.

Screenshot 2019-10-23 at 23 38 29

Here's the build: https://github.com/stylelint/stylelint/pull/4372/checks?check_run_id=272347026

Logs attached: logs_215.zip

from runner-images.

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.