diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-08 11:53:54 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-07-08 12:05:50 +0300 |
commit | f553c1487dc2df78cb75a3c66a1f96321d2a7d91 (patch) | |
tree | 92e03bc66acdc34fbe80338d790ad235bec7a9e1 /.github/actions/build-foo | |
parent | workflows/test: test short version numbers too (diff) | |
download | setup-clang-1.1.1.tar.gz setup-clang-1.1.1.zip |
map version 4 to 4.0v1.1.1
Diffstat (limited to '.github/actions/build-foo')
-rw-r--r-- | .github/actions/build-foo/action.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/actions/build-foo/action.yml b/.github/actions/build-foo/action.yml index c86fecb..36fc650 100644 --- a/.github/actions/build-foo/action.yml +++ b/.github/actions/build-foo/action.yml @@ -1,9 +1,10 @@ name: Build foo.exe description: Build foo.exe inputs: - version: - description: Version to use + binary: + description: Compiler binary file name required: false + default: clang++ platform: description: Target platform required: true @@ -23,5 +24,5 @@ runs: $flags += '-lpthread' } - & "clang++$version" $flags + & '${{ inputs.binary }}' $flags shell: pwsh |