Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr committed Oct 14, 2024
1 parent 443b9cf commit 45a3819
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Java 11 and Apache Maven
uses: actions/setup-java@v1
- name: Setup Java 21 and Apache Maven
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
java-version: 21
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 5
persist-credentials: false

- name: Setup Java 11 and Apache Maven
uses: actions/setup-java@v1
- name: Setup Java 21 and Apache Maven
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
java-version: 21
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:
sudo apt-get update
sudo apt-get install xmlstarlet
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 5
persist-credentials: false
Expand Down

0 comments on commit 45a3819

Please sign in to comment.