Skip to content

Commit

Permalink
Merge pull request #534 from gruelbox/bump-github-actions
Browse files Browse the repository at this point in the history
Bump GitHub actions
  • Loading branch information
badgerwithagun authored Dec 21, 2023
2 parents 88b2a7a + f6319ca commit cf0d4a7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-package: jdk
java-version: 21
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
jdk: [ 11,17,21 ]
fail-fast: false
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-package: jdk
java-version: ${{ matrix.jdk }}

- name: Build with Maven
run: mvn -Pconcise -B fmt:check package -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
20 changes: 11 additions & 9 deletions .github/workflows/pull_request_delombok.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,44 @@ jobs:

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-package: jdk
java-version: 21

- name: Build with Maven and delombok
run: mvn -Pconcise,delombok -B package -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-core
path: transactionoutbox-core/target/apidocs

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-guice
path: transactionoutbox-guice/target/apidocs

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-jackson
path: transactionoutbox-jackson/target/apidocs

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-jooq
path: transactionoutbox-jooq/target/apidocs

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-quarkus
path: transactionoutbox-quarkus/target/apidocs

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: javadocs-spring
path: transactionoutbox-spring/target/apidocs
path: transactionoutbox-spring/target/apidocs
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-package: jdk
java-version: 21
settings-path: ~ # location for the settings.xml file
settings-path: "~" # location for the settings.xml file

- name: Build and publish
run: |
Expand Down

0 comments on commit cf0d4a7

Please sign in to comment.