We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c195c0 commit eed5764Copy full SHA for eed5764
1 file changed
.github/workflows/release.yml
@@ -4,25 +4,9 @@ on:
4
tags:
5
- "*.*.**"
6
jobs:
7
- get_branch:
8
- runs-on: ubuntu-latest
9
- outputs:
10
- branch_name: ${{ steps.get_branch_name.outputs.name }}
11
- steps:
12
- - uses: actions/checkout@v4
13
- with:
14
- fetch-depth: 0
15
- - name: Get branch name
16
- id: get_branch_name
17
- run: |
18
- raw=$(git branch -r --contains ${{ github.ref }})
19
- branch=$(echo "$raw" | grep "origin/main" | grep -v "HEAD" | sed "s|origin/||" | xargs)
20
- echo "name=$branch" >> "$GITHUB_OUTPUT"
21
build:
22
name: Build distribution
23
runs-on: ubuntu-latest
24
- needs: get_branch
25
- if: needs.get_branch.outputs.branch_name == '2.1.0-snapshot.2026-02'
26
steps:
27
- uses: actions/checkout@v4
28
- name: Set up Python
0 commit comments