diff --git a/action.yml b/action.yml index 553fabc1..b9c00dc8 100644 --- a/action.yml +++ b/action.yml @@ -131,17 +131,11 @@ runs: echo REMOVAL TARGET: $(which alr) rm -f $(which alr)* && echo REMOVED stable alr used for toolchain install - - name: Install GNAT (III) - Add to path (Windows) - if: steps.need-GNAT.outputs.need == 'true' && runner.os == 'Windows' - shell: pwsh - run: | - $Target = Resolve-Path .\setup_alire_prefix\bin - Add-Content $env:GITHUB_PATH $Target - - - name: Install GNAT (III) - Add to path (!Windows) - if: steps.need-GNAT.outputs.need == 'true' && runner.os != 'Windows' + - name: Install GNAT (III) - Add to path + if: steps.need-GNAT.outputs.need == 'true' shell: bash run: | + echo Adding to PATH: $(readlink -f "$PWD/setup_alire_prefix/bin") readlink -f "$PWD/setup_alire_prefix/bin" >> $GITHUB_PATH # END TOOLCHAIN INSTALLATION