Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump GitHub actions #534

Merged
merged 4 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading