Skip to content

Commit

Permalink
add echo
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Jun 19, 2024
1 parent a987d21 commit 671b32c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
- name: Echo GITHUB_REF
run: echo "GITHUB_REF is ${GITHUB_REF}"

- name: Determine if this is a tag
run: |
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
echo "This is a tag.";
else
echo "This is not a tag.";
fi
- name: Build and Deploy with Maven
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down

0 comments on commit 671b32c

Please sign in to comment.