aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/action.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-04 12:55:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-04 12:55:24 +0300
commit5e27a630072aac95ba66478f270a3de5901b38f7 (patch)
tree4e71cbf08f54a1c43d8294b37111eb1ee7688c57 /action.yml
parentset %CYGWIN% before installing Cygwin (diff)
downloadsetup-cygwin-5e27a630072aac95ba66478f270a3de5901b38f7.tar.gz
setup-cygwin-5e27a630072aac95ba66478f270a3de5901b38f7.zip
rename symlinks-to-hardlinks to just hardlinks
Diffstat (limited to '')
-rw-r--r--action.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/action.yml b/action.yml
index 333e43f..fc5ecc4 100644
--- a/action.yml
+++ b/action.yml
@@ -16,7 +16,7 @@ inputs:
env:
description: Value to set as the CYGWIN environment variable
required: false
- symlinks-to-hardlinks:
+ hardlinks:
description: Convert symlinks in /usr/bin to hardlinks
required: false
default: 0
@@ -77,9 +77,9 @@ runs:
- run: |
New-Variable install_dir -Value '${{ inputs.install-dir }}' -Option Constant
- New-Variable symlinks_to_hardlinks -Value ('${{ inputs.symlinks-to-hardlinks }}' -eq '1') -Option Constant
+ New-Variable hardlinks -Value ('${{ inputs.hardlinks }}' -eq '1') -Option Constant
- if ($symlinks_to_hardlinks) {
+ if ($hardlinks) {
New-Variable bash -Value (Join-Path $install_dir bin bash.exe) -Option Constant
echo @'
while IFS= read -d '' -r link_path; do