Skip to content

Commit af309d7

Browse files
authored
Run build workflow on push to tags (#58)
1 parent 6d60696 commit af309d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
push:
66
branches:
77
- main
8+
tags:
9+
- '*'
810

911
jobs:
1012
build:
@@ -19,6 +21,11 @@ jobs:
1921
steps:
2022
- uses: actions/checkout@v3
2123

24+
- name: GitHub Tag Name example
25+
run: |
26+
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
27+
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
28+
2229
- name: Configure AWS Credentials
2330
uses: aws-actions/configure-aws-credentials@v4
2431
with:

0 commit comments

Comments
 (0)