Skip to content

Commit

Permalink
Set Maven version to 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
smeyer198 committed Nov 29, 2024
1 parent fa1c159 commit a9034d0
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
server-password: OSSRH_PASSWORD # Env var that holds your OSSRH user pw
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # Substituted with the value stored in the referenced secret
gpg-passphrase: SIGN_KEY_PASS # Env var that holds the key's passphrase
# Tycho requires at least Maven 3.9.0
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.0
- name: Build & Deploy CrySL
run: mvn -B -U clean deploy -Pdeployment
env:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: CrySL build

on:
push:
branches-ignore:
- master
- develop
pull_request:
types: [opened, reopened]

Expand All @@ -26,6 +23,11 @@ jobs:
distribution: 'adopt'
java-package: jdk
java-version: '17'
# Tycho requires at least Maven 3.9.0
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.0
# Restores Maven dependecies
- name: Restore local Maven repository
uses: actions/cache@v3
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ description: Check the formatting. Use "mvn spotless:apply" to format the code.

on:
push:
branches-ignore:
- master
- develop

jobs:
check-formatting:
Expand All @@ -14,6 +11,18 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
# Sets up Java version
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-package: jdk
java-version: '17'
# Tycho requires at least Maven 3.9.0
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.0
# Restores Maven dependecies
- name: Restore local Maven repository
uses: actions/cache@v4
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
distribution: 'adopt'
java-package: jdk
java-version: '17'
# Tycho requires at least Maven 3.9.0
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.0
# Semantic versioning
- name: Semantic versioning
id: versioning
Expand Down Expand Up @@ -83,6 +88,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
# Tycho requires at least Maven 3.9.0
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.0
# Semantic versioning
- name: Semantic versioning
id: versioning
Expand Down

0 comments on commit a9034d0

Please sign in to comment.