generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exchange unwanted dependency with manual step
- Loading branch information
Showing
1 changed file
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,27 +107,18 @@ runs: | |
shell: bash | ||
run: echo "need=true" >> $GITHUB_OUTPUT | ||
|
||
- name: Install GNAT (I) Linux | ||
if: steps.need-GNAT.outputs.need == 'true' && runner.os == 'Linux' | ||
uses: engineerd/[email protected] | ||
with: | ||
name: alr | ||
url: https://github.com/alire-project/alire/releases/download/v2.0.0/alr-2.0.0-bin-x86_64-linux.zip | ||
pathInArchive: bin/alr | ||
- name: Install GNAT (I) macOS | ||
if: steps.need-GNAT.outputs.need == 'true' && runner.os == 'macOS' | ||
uses: engineerd/[email protected] | ||
with: | ||
name: alr | ||
url: https://github.com/alire-project/alire/releases/download/v2.0.0/alr-2.0.0-bin-x86_64-macos.zip | ||
pathInArchive: bin/alr | ||
- name: Install GNAT (I) Windows | ||
if: steps.need-GNAT.outputs.need == 'true' && runner.os == 'Windows' | ||
uses: engineerd/[email protected] | ||
with: | ||
name: alr.exe | ||
url: https://github.com/alire-project/alire/releases/download/v2.0.0/alr-2.0.0-bin-x86_64-windows.zip | ||
pathInArchive: bin/alr.exe | ||
# Replace previous three alternatives with a manual download and path | ||
# addition | ||
- name: Install GNAT (I) | ||
if: steps.need-GNAT.outputs.need == 'true' | ||
shell: bash | ||
run: | | ||
os_lower=$(echo "${{ runner.os }}" | tr '[:upper:]' '[:lower:]') | ||
alr_version=2.0.1 | ||
curl -L -O https://github.com/alire-project/alire/releases/download/v${alr_version}/alr-${alr_version}-bin-x86_64-${os_lower}.zip | ||
unzip alr-${alr_version}-bin-x86_64-${os_lower}.zip | ||
rm alr-${alr_version}-bin-x86_64-${os_lower}.zip | ||
echo "$PWD/bin" >> $GITHUB_ENV | ||
- name: Install GNAT (II) | ||
if: steps.need-GNAT.outputs.need == 'true' | ||
|