diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 92d68d8..7d1bbd5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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