need powershell commands
This commit is contained in:
parent
3854547ce8
commit
268ff26232
|
@ -32,6 +32,13 @@ jobs:
|
|||
export VERSION=$(cat VERSION)
|
||||
echo ${VERSION%-*} > VERSION
|
||||
|
||||
- name: Strip git hash (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
$VERSION = Get-Content VERSION -first 1
|
||||
$VERSION,$_ = $VERSION -Split '-g',2,"simplematch"
|
||||
$VERSION | Out-File VERSION
|
||||
|
||||
- name: Install and run unit tests (Unix)
|
||||
if: runner.os != 'Windows'
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue