diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-12-23 22:31:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 22:31:19 +0300 |
commit | 7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b (patch) | |
tree | a89d932c0ea90e06ca66adc2dccbefdd5ff2d070 | |
parent | add README (diff) | |
parent | Make CYGWIN environment variable configurable (diff) | |
download | setup-cygwin-7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b.tar.gz setup-cygwin-7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b.zip |
Merge pull request #2 from me-and/configurable-cygwin-env-var
Make CYGWIN environment variable configurable
-rw-r--r-- | action.yml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,6 +13,9 @@ inputs: packages: description: Packages to install, separated by a space required: false + env: + description: Value to set as the CYGWIN environment variable + required: false runs: using: composite @@ -27,7 +30,7 @@ runs: New-Variable packages -Value '${{ inputs.packages}}' -Option Constant if ($windows_host) { - echo 'CYGWIN=winsymlinks:nativestrict' >> $env:GITHUB_ENV + echo 'CYGWIN=${{ inputs.env }}' >> $env:GITHUB_ENV $choco_params = @( 'install', |