Skip to content

Commit

Permalink
Simplify addition to path step
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Aug 12, 2024
1 parent 462a98e commit 874249f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,8 @@ 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: |
readlink -f "$PWD/setup_alire_prefix/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit 874249f

Please sign in to comment.