From 5e27a630072aac95ba66478f270a3de5901b38f7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 4 Jan 2021 12:55:24 +0300 Subject: rename symlinks-to-hardlinks to just hardlinks --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'action.yml') 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 -- cgit v1.2.3