Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
hlafaille committed Dec 12, 2024
1 parent e8f8812 commit 6f77989
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ jobs:
settings-path: ${{ github.workspace }}
- name: Install dependencies
run: cd src/main/frontend && npm i
- name: Set Version
run: echo "PROJECT_VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
- name: Build with Maven
run: mvn -B package --file pom.xml -Dproject.version=${GITHUB_REF_NAME:1}
run: mvn -B package --file pom.xml -Dproject.version=${PROJECT_VERSION}
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: app
path: |
target/billtracker-${GITHUB_REF_NAME:1}.jar
target/billtracker-${PROJECT_VERSION}.jar
publish_maven:
if: github.event_name == 'release'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f77989

Please sign in to comment.