Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Commit aeb2721

Browse files
Update action manifest
1 parent e41c1e0 commit aeb2721

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,48 @@
11
name: 'Get Conan'
22
description: 'Installs Conan'
33
author: 'TurtleBrowser'
4+
45
inputs:
56
version:
67
description: "Wanted conan version"
78
required: false
89
default: ''
10+
911
outputs:
1012
version:
1113
description: "The version of Conan which was installed"
1214
value: ${{ steps.output_version.outputs.version }}
15+
1316
runs:
1417
using: "composite"
1518
steps:
1619
- name: Install setup tools
1720
run: pip3 install wheel setuptools
1821
shell: bash
22+
1923
- name: Install conan latest
2024
if: ${{ inputs.version == '' }}
2125
run: pip3 install conan --upgrade
2226
shell: bash
27+
2328
- name: Install conan version ${{ inputs.version }}
2429
if: ${{ inputs.version != '' }}
2530
run: pip3 install conan==${{ inputs.version }} --upgrade
2631
shell: bash
32+
2733
- name: Fix path on Linux
34+
if: ${{ runner.os == 'Linux' }}
2835
run: |
2936
echo "/home/runner/.local/bin" >> $GITHUB_PATH
3037
shell: bash
38+
3139
- name: Fill in output variable
3240
id: output_version
3341
shell: bash
3442
run: |
3543
conan --version
3644
echo "version=$(conan --version)" >> $GITHUB_OUTPUT
45+
3746
branding:
3847
icon: "archive"
3948
color: "green"

0 commit comments

Comments
 (0)