diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 825103e..f1aa36a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,12 +15,24 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: maven + - uses: actions/checkout@v4 + with: + repository: 'nyholku/purejavacomm' + ref: 'dafb39722f797289b84b11e0184ef896f1f76c1e' + - name: Install purejavacomm + working-directory: purejavacomm + run: mvn install -DskipTests=true + - name: Build with Maven run: mvn -B package --file pom.xml + + # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive + - name: Update dependency graph + uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6