Skip to content

Commit

Permalink
chore: add output section
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Nov 7, 2024
1 parent 209f63e commit 3db264d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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##*/}
Expand Down

0 comments on commit 3db264d

Please sign in to comment.