map version 4 to 4.0
This commit is contained in:
parent
3b362febbf
commit
f553c1487d
4 changed files with 15 additions and 7 deletions
7
.github/actions/build-foo/action.yml
vendored
7
.github/actions/build-foo/action.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue