diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 8bc07a6..d8ce75f 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - uses: actions/env@v2 - - name: Set branch name + name: Set branch name run: echo "BRANCH=$CI_ACTION_REF_NAME_SLUG" >> $GITHUB_ENV - name: Install dependencies @@ -36,11 +36,11 @@ jobs: unset GITLAB_TOKEN - echo "branch = $branch" + 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) 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 }}")"