We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c70eb6b commit b77aaa7Copy full SHA for b77aaa7
.github/workflows/upload-idf-component.yml
@@ -12,23 +12,18 @@ jobs:
12
steps:
13
- name: Get the release tag
14
run: |
15
- if [ "${{ github.event.workflow_run.conclusion }}" != "success" ]; then
16
- echo "Release workflow failed. Exiting..."
17
- exit 1
18
- fi
19
-
20
branch=${{ github.event.workflow_run.head_branch }}
21
if [[ $branch == refs/tags/* ]]; then
22
tag="${branch#refs/tags/}"
23
elif [[ $branch =~ ^[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then
24
tag=$branch
25
else
26
echo "Tag not found in $branch. Exiting..."
27
28
fi
29
30
echo "Tag: $tag"
31
echo "RELEASE_TAG=$tag" >> $GITHUB_ENV
+ exit 1
32
33
- uses: actions/checkout@v4
34
with:
0 commit comments