fix(workflow): added env
This commit is contained in:
parent
66f26e8481
commit
1576ac5d73
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,10 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set Environment Variable
|
||||
uses: actions/env@v2
|
||||
run: |
|
||||
echo "BRANCH=$CI_ACTION_REF_NAME_SLUG" >> $GITHUB_ENV
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
poetry install --with docs --with dev --no-root
|
||||
|
@ -30,9 +34,12 @@ jobs:
|
|||
unset GITHUB_TOKEN
|
||||
unset GITLAB_TOKEN
|
||||
|
||||
|
||||
echo "branch = $branch"
|
||||
echo "github.ref = ${{ github.ref }}"
|
||||
echo "github.base_ref = ${{ github.base_ref }}"
|
||||
echo "github.ref_name = ${{ github.ref_name }}"
|
||||
echo "(Basename) branch = $(basename "$branch")
|
||||
echo "(Basename) github.ref = $(basename "${{ github.ref }}")"
|
||||
echo "(Basename) github.base_ref = $(basename "${{ github.base_ref }}")"
|
||||
echo "(Basename) github.ref_name = $(basename "${{ github.ref_name }}")"
|
||||
|
|
Loading…
Reference in a new issue