From 3db264d87faff4699bc5fe94431dcbda4f332824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Lewandowski?= Date: Thu, 7 Nov 2024 10:44:40 +0100 Subject: [PATCH] chore: add output section --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d24ad49c7..4d4733752 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,12 +12,15 @@ permissions: jobs: check: runs-on: ubuntu-latest + outputs: + branch: ${{ steps.check_branch.outputs.branch }} steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Get current branch + id: check_branch run: | raw=$(git branch -r --contains ${{ github.ref }}) branch=${raw##*/}