test branch name windows

This commit is contained in:
Borja García Rodríguez 2020-12-24 11:10:09 +01:00
parent b49d460139
commit bd4b3057fe

View File

@ -102,7 +102,7 @@ jobs:
- name: Set branch name as env variable
shell: pwsh
run: echo $Env:GITHUB_REF -replace "refs/heads/", "" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
run: echo ("::set-env name=BRANCH::" + $env:GITHUB_REF.replace('refs/heads/', ''))
- name: Compose build ${{ env.SERVICES }}
run: docker-compose build -f src/docker-compose.yml ${{ env.SERVICES }}