Skip to content

Commit

Permalink
working on build
Browse files Browse the repository at this point in the history
  • Loading branch information
martypitt committed Aug 28, 2024
1 parent e37591e commit 05db6a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Extract tag name
id: extract_tag
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Set Maven version
if: startsWith(github.ref, 'refs/tags/')
run: mvn versions:set -DnewVersion=${{ env.TAG_NAME }}

- name: Deploy with Maven
run: mvn deploy --settings .mvn/settings.xml
env:
Expand Down

0 comments on commit 05db6a6

Please sign in to comment.