Skip to content

Commit eed5764

Browse files
committed
rm get_branch job
1 parent 2c195c0 commit eed5764

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,9 @@ on:
44
tags:
55
- "*.*.**"
66
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"
217
build:
228
name: Build distribution
239
runs-on: ubuntu-latest
24-
needs: get_branch
25-
if: needs.get_branch.outputs.branch_name == '2.1.0-snapshot.2026-02'
2610
steps:
2711
- uses: actions/checkout@v4
2812
- name: Set up Python

0 commit comments

Comments
 (0)