Skip to content

Commit

Permalink
Continue with GHA updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kwart committed Aug 3, 2024
1 parent cb5904b commit ffd543b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '8'
distribution: 'adopt'
cache: 'maven'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
19 changes: 5 additions & 14 deletions .github/workflows/upload-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Apache Maven Central
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 8
distribution: 'adopt'

- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '8'
cache: 'maven'
- name: Maven build
run: mvn --batch-mode clean install

- name: Upload binaries to release
uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
with:
Expand Down

0 comments on commit ffd543b

Please sign in to comment.