Skip to content

Commit

Permalink
Update maven
Browse files Browse the repository at this point in the history
  • Loading branch information
sarpsahinalp committed Jul 15, 2024
1 parent f38aada commit 6751c10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand All @@ -23,5 +24,10 @@ jobs:
java-version: '21'
distribution: 'adopt'

- name: Install Maven
run: |
sudo wget -q -O - "https://apache.osuosl.org/maven/maven-3/3.9.8/binaries/apache-maven-3.9.8-bin.tar.gz" | sudo tar xzf - -C /usr/share
sudo ln -s /usr/share/apache-maven-3.9.8/bin/mvn /usr/bin/mvn
- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 6751c10

Please sign in to comment.