test replace branch name pwsh
This commit is contained in:
parent
bd6d0a3878
commit
cdab9fda56
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 "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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user