Skip to content

Commit bf4e7cc

Browse files
update gw
1 parent d7401f4 commit bf4e7cc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ jobs:
1414
uses: actions/checkout@v3
1515
- name: Set up Docker Buildx
1616
uses: docker/setup-buildx-action@v2
17-
- name: test
18-
run: echo "hello" && echo "${{github.ref_name}}"
1917
- name: get tag
2018
id: get_tag
2119
run: |
@@ -25,4 +23,14 @@ jobs:
2523
- name: print
2624
run: |
2725
echo "${{ steps.get_tag.outputs.tag }}"
28-
# add getting tag
26+
- name: Create release
27+
if: ${{ startsWith(github.ref, 'refs/tags/') == true }}
28+
uses: softprops/action-gh-release@v1
29+
with:
30+
# token: ${{ secrets.GITHUB_TOKEN }}
31+
# tag_name: ${{ needs.build.outputs.version }}
32+
# name: ${{ needs.build.outputs.version }}
33+
# target_commitish: ${{ github.sha }}
34+
fail_on_unmatched_files: true
35+
files: |
36+
*.txt

0 commit comments

Comments
 (0)