test branch name windows
This commit is contained in:
parent
b49d460139
commit
bd4b3057fe
2
.github/workflows/basket-api.yml
vendored
2
.github/workflows/basket-api.yml
vendored
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user