Skip to content

Commit

Permalink
Pin build to Maven 3.8.7 (#3874)
Browse files Browse the repository at this point in the history
* Pin gh build process to Maven 3.8.7
  • Loading branch information
filipelautert committed Feb 28, 2023
1 parent 96550ba commit 454edd9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-main.yml
Expand Up @@ -26,6 +26,10 @@ jobs:
distribution: 'temurin'
cache: 'maven'
server-id: github
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: '3.8.7'

# Version artifact based off of branch and commit SHA.
- name: Version Artifact
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-published.yml
Expand Up @@ -213,6 +213,10 @@ jobs:
distribution: 'temurin'
cache: 'maven'
server-id: github
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: '3.8.7'

- name: Version artifact
run: mvn versions:set -DnewVersion="${{ needs.setup.outputs.version }}"
Expand Down

0 comments on commit 454edd9

Please sign in to comment.