aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-23 22:31:19 +0300
committerGitHub <noreply@github.com>2020-12-23 22:31:19 +0300
commit7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b (patch)
treea89d932c0ea90e06ca66adc2dccbefdd5ff2d070
parentadd README (diff)
parentMake CYGWIN environment variable configurable (diff)
downloadsetup-cygwin-7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b.tar.gz
setup-cygwin-7ce6ee4822ff1d11c01f65aabe236f3a67ca4f2b.zip
Merge pull request #2 from me-and/configurable-cygwin-env-var
Make CYGWIN environment variable configurable
Diffstat (limited to '')
-rw-r--r--action.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/action.yml b/action.yml
index 797516b..02f19a9 100644
--- a/action.yml
+++ b/action.yml
@@ -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',