Comments (3)
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.
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.
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)
- Spaces in path or filename does not work HOT 2
- latest release broke zipping assets in our pipeline HOT 4
- please update `master` to `main` HOT 4
- unzip file HOT 1
- Using path as base directory for files inside the zip file HOT 1
- Zip path is proper on Windows, but errors on Linux.
- File changed as we read it tar issue HOT 2
- Upload Release fails HOT 1
- tar only allows for one exclusion HOT 1
- Exclude folder HOT 6
- On Windows, got error INPUT_CUSTOM: unbound variable HOT 2
- Broken pipeline on update to v0.7.0, `INPUT_CUSTOM: unbound variable` HOT 3
- Symlinking by default would be nice. HOT 4
- Have the extension be added automatically based on the type. HOT 2
- problem generating zip from different branches for release HOT 1
- Unexpected inputs as well as undefined tag & input
- Exclusions not working with specifing a path HOT 2
- Zipping nested folders HOT 2
- Exclusions from distignore HOT 1
- Feature Request: Configurable Hash Computation of Generated ZIP File HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zip-release.