{"repo":"egor-tensin/setup-cygwin","free":true,"listed":false,"github":"https://github.com/egor-tensin/setup-cygwin","clone":"git clone https://github.com/egor-tensin/setup-cygwin.git","description":"GitHub action to set up Cygwin","language":null,"stars":31,"topics":["cygwin","action","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Set up Cygwin ============= This GitHub action sets up Cygwin in your workflow run. 1. Installs Cygwin. 2. Installs any additional packages specified. Use it in your workflow like this: - name: Set up Cygwin uses: egor-tensin/setup-cygwin@v4 with: packages: cmake gcc-g++ # Cygwin executables are added to PATH, so you can call them directly: - run: ls.exe -Al pwd.exe # Alternatively, you can set Cygwin's bash as the shell to use: - run: # This is a real bash script! basic() { ls -Al pwd } basic shell: C:\\tools\\cygwin\\bin\\bash.exe --login --norc -eo pipefail -o igncr '{0}' Specify any additional packages to be installed as a space-separated list in the packages parameter. Set the installation directory using the install-dir parameter (C:\\tools\\cygwin is the default). The CYGWIN environment variable is set to an empty string by default. Provide a custom value using the env parameter. API --- Input Value Default Description ----------- ------- ------- ----------- install-dir empty ✓ Install to C:\\tools\\cygwin. any Install to the specified directory. packages empty ✓ Don't install any additional packages. any Space-separated package names. env empty ✓ Set %CYGWIN% to an empty string. any Set %CYGWIN% to the specified value. hardlinks any ✓ Don't convert any symlinks. 1 Convert symlinks in /usr/bin to hardlinks. The paths to the Cygwin binaries are added to the PATH variable. Line terminators ---------------- When using Cygwin's bash as the shell to run the step script (or if you s","default_branch":null,"files":null,"tree":[],"storefront":"/r/egor-tensin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/egor-tensin/setup-cygwin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}