Skip to content

Commit

Permalink
Use latest tag on main, otherwise Git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarsti committed Jul 3, 2024
1 parent af309d7 commit 8062bee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- uses: actions/checkout@v3

- name: GitHub Tag Name example
TAG: "${{ github.ref_name == 'main' && 'main' || github.ref_name }}""
run: |
echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
echo "Tag name from github.ref_name: ${{ github.ref_name }}"
echo "Tag name: $TAG"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit 8062bee

Please sign in to comment.