From a5dc282fc43d10a65deb3ea1b4492ebcb734d4e4 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 12:39:40 +0000 Subject: [PATCH] fix(workflow): you good bro? --- .forgejo/workflows/workflow.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }}")"