test replace branch name pwsh

This commit is contained in:
Borja García Rodríguez 2020-12-24 11:22:19 +01:00
parent bd6d0a3878
commit cdab9fda56

View File

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