From a5dc282fc43d10a65deb3ea1b4492ebcb734d4e4 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 12:39:40 +0000 Subject: [PATCH 1/3] 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 }}")" From 17dc9c169a49e123620f932b4abd4809cf5b0e02 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 12:39:54 +0000 Subject: [PATCH 2/3] fix(workflow): he was not good bro --- .forgejo/workflows/workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index d8ce75f..5c6c74c 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 From 22e20abe1f126019586fe5db7f0e6a9dbcf3a4c0 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 12:41:08 +0000 Subject: [PATCH 3/3] fix(workflow): fixed missing env. --- .forgejo/workflows/workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 5c6c74c..1f244e9 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -36,11 +36,11 @@ jobs: unset GITLAB_TOKEN - echo "branch = ${{ BRANCH }}" + echo "branch = ${{ env.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 "${{ env.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 }}")"