GithubHelp home page GithubHelp logo

Windows environment about zip-release HOT 3 CLOSED

thedoctor0 avatar thedoctor0 commented on July 4, 2024
Windows environment

from zip-release.

Comments (3)

marceltaeumel avatar marceltaeumel commented on July 4, 2024

Ah, I just saw the note that this works only in bash. Well, all Windows environments have a git bash. Would be nice if you one could run that action within that shell. 😃

from zip-release.

TheDoctor0 avatar TheDoctor0 commented on July 4, 2024

As far as I know, it's currently just not possible to run Docker-based and most shell-based GitHub Action on Windows.

Of course, if you want you can fork this repository and tinker with the Windows solution.
I'll gladly accept a pull-request with a version of this action that supports all platforms.

from zip-release.

marceltaeumel avatar marceltaeumel commented on July 4, 2024

Okay. Well, in this case, it might be enough to just make the "entrypoint.sh" compatible with "bash" and not run "sh" from within the bash shell:

runs:
  ...
  steps:
    - shell: bash
      env:
        ...
      run: ${{ github.action_path }}/entrypoint.sh

At least I experienced similar path problems with running a command in a Cygwin shell from within the Windows PowerShell in a workflow via: run: C:\Cygwin64\bin\bash -lc "exec $(pwd)/foo.sh" (https://github.com/marceltaeumel/opensmalltalk-vm/runs/3125677196?check_suite_focus=true) The error looks very similar:

/usr/bin/bash: D:aopensmalltalk-vmopensmalltalk-vm/scripts/ci/actions_build.sh: No such file or directory

After that, I used the git bash directly in the Windows environment. No extra Cygwin bash involved.

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