Skip to content

Commit

Permalink
Update Maven-BuildAndRealese.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MRollin03 committed Sep 24, 2024
1 parent a25ca35 commit 4055a30
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/Maven-BuildAndRealese.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ jobs:
release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v') # Ensures it runs for tags starting with "v"
if: github.ref_type == 'tag' # Only run on tags (i.e., version releases)

steps:
- name: Debugging - Print github.ref
run: echo "GITHUB REF: ${{ github.ref }}"

- name: Checkout code
uses: actions/checkout@v4 # Updated to v4

Expand Down

0 comments on commit 4055a30

Please sign in to comment.