diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-05 11:03:06 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-05 11:03:57 +0300 |
commit | 120915647ead9e210e23926e52273a9e8bf87e6d (patch) | |
tree | c78946af2ed2a80183f0b3070dfda09d013e9037 /README.md | |
parent | workflows/test.yml: add an example using shell: (diff) | |
download | setup-cygwin-120915647ead9e210e23926e52273a9e8bf87e6d.tar.gz setup-cygwin-120915647ead9e210e23926e52273a9e8bf87e6d.zip |
README: update
Closes #4.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -16,6 +16,20 @@ Use it in your workflow like this: platform: x64 packages: cmake python3 + # Cygwin executables are added to PATH, so you can call them directly: + - run: | + ls.exe -Al + pwd.exe + + # Alternatively, you can use Cygwin's bash as shell to write proper bash scripts: + - run: | + basic() { + ls -Al + pwd + } + basic + shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' + * `x64` is the default value for the `platform` parameter and can be omitted. Use `x86` if you want to install the 32-bit Cygwin. * Specify any additional packages to be installed as a space-separated list in |