map version 4 to 4.0

This commit is contained in:
Egor Tensin 2021-07-08 11:53:54 +03:00
parent 3b362febbf
commit f553c1487d
4 changed files with 15 additions and 7 deletions

View file

@ -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