Skip to content

Commit f13e668

Browse files
Update gw
1 parent 44338f3 commit f13e668

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

.github/workflows/build.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: Linux x86_64 incode
22
on:
3-
release:
4-
types: [published]
5-
3+
push:
4+
branches:
5+
- 4.x
6+
tags:
7+
- *_incode
68

79
jobs:
810
build:
@@ -14,4 +16,15 @@ jobs:
1416
uses: docker/setup-buildx-action@v2
1517
- name: test
1618
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+
run: |
29+
echo "${{ steps.get_tag.outputs.tag }}"
1730
# add getting tag

0 commit comments

Comments
 (0)