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 44338f3 commit f13e668Copy full SHA for f13e668
.github/workflows/build.yaml
@@ -1,8 +1,10 @@
1
name: Linux x86_64 incode
2
on:
3
- release:
4
- types: [published]
5
-
+ push:
+ branches:
+ - 4.x
6
+ tags:
7
+ - *_incode
8
9
jobs:
10
build:
@@ -14,4 +16,15 @@ jobs:
14
16
uses: docker/setup-buildx-action@v2
15
17
- name: test
18
run: echo "hello" && echo "${{github.ref_name}}"
19
+ - name: get tag
20
+ id: get_tag
21
+ run: |
22
+ echo "${string//[^0-9]/}"
23
+ tag=${{ github.ref_name }}
24
+ echo "tag: ${tag//[^0-9]/}"
25
+ echo "tag=$tag" >> $GITHUB_OUTPUT
26
+ fi
27
+ - name: print
28
29
+ echo "${{ steps.get_tag.outputs.tag }}"
30
# add getting tag
0 commit comments