Skip to content

Commit b77aaa7

Browse files
committed
test
1 parent c70eb6b commit b77aaa7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/upload-idf-component.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,18 @@ jobs:
1212
steps:
1313
- name: Get the release tag
1414
run: |
15-
if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
16-
echo "Release workflow failed. Exiting..."
17-
exit 1
18-
fi
19-
2015
branch=${{ github.event.workflow_run.head_branch }}
2116
if [[ $branch == refs/tags/* ]]; then
2217
tag="${branch#refs/tags/}"
2318
elif [[ $branch =~ ^[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then
2419
tag=$branch
2520
else
2621
echo "Tag not found in $branch. Exiting..."
27-
exit 1
2822
fi
2923
3024
echo "Tag: $tag"
3125
echo "RELEASE_TAG=$tag" >> $GITHUB_ENV
26+
exit 1
3227
3328
- uses: actions/checkout@v4
3429
with:

0 commit comments

Comments
 (0)